javax.management.DynamicMBean
, javax.management.MBeanRegistration
, javax.management.NotificationBroadcaster
, RuntimeMBean
, WebLogicMBean
ConnectorConnectionPoolRuntimeMBean
, ServerLogRuntimeMBean
public interface LogRuntimeMBean extends RuntimeMBean
Modifier and Type | Method | Description |
---|---|---|
void |
ensureLogOpened() |
Ensures that that the output stream to the underlying is
opened if it got closed previously due to errors.
|
void |
flushLog() |
Flushes the buffer to the log file on disk.
|
void |
forceLogRotation() |
Forces the rotation of the underlying log immediately.
|
boolean |
isLogFileStreamOpened() |
Gets the opened state of the log file stream represented by this instance.
|
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addPropertyChangeListener, removePropertyChangeListener
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
void forceLogRotation() throws ManagementException
ManagementException
- If there is an error during the log file rotation.void ensureLogOpened() throws ManagementException
ManagementException
- If the log could not be opened successfully.void flushLog() throws ManagementException
ManagementException
- If the log could not be flushed successfully.boolean isLogFileStreamOpened()