javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, RuntimeMBean, WebLogicMBeanConnectorConnectionPoolRuntimeMBean, ServerLogRuntimeMBeanpublic 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, setAttributespostDeregister, postRegister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListeneraddPropertyChangeListener, removePropertyChangeListenergetMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParentvoid 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()