Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.runtime
Interface LogRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean
All Known Subinterfaces:
ConnectorConnectionPoolRuntimeMBean, ServerLogRuntimeMBean

public interface LogRuntimeMBean
extends RuntimeMBean

This interface defines the control operations for a log in the WebLogic Server.

Since:
9.0.0.0

Method Summary
abstract  void ensureLogOpened()
          Ensures that that the output stream to the underlying is opened if it got closed previously due to errors.
abstract  void flushLog()
          Flushes the buffer to the log file on disk.
abstract  void forceLogRotation()
          Forces the rotation of the underlying log immediately.
abstract  boolean isLogFileStreamOpened()
          Gets the opened state of the log file stream represented by this instance.

 

Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, removePropertyChangeListener

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent

 

Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes

 

Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister

 

Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener

 

Method Detail

forceLogRotation

void forceLogRotation()
                      throws ManagementException
Forces the rotation of the underlying log immediately.
Throws:
ManagementException - If there is an error during the log file rotation.

ensureLogOpened

void ensureLogOpened()
                     throws ManagementException
Ensures that that the output stream to the underlying is opened if it got closed previously due to errors.
Throws:
ManagementException - If the log could not be opened successfully.

flushLog

void flushLog()
              throws ManagementException
Flushes the buffer to the log file on disk.
Throws:
ManagementException - If the log could not be flushed successfully.

isLogFileStreamOpened

boolean isLogFileStreamOpened()
Gets the opened state of the log file stream represented by this instance.

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09