public class SystemServiceLoggerMBeanImpl extends DefaultLoggerMBeanImpl implements LoggerMBean, NotificationListener, MBeanRegistration, Constants
mDisplayName, mLoggerADMIN_RUNNING_FILE, ADMIN_STOPPED_FILE, CONFIG_NAME_KEY, LOG_LEVEL_DEFAULT, TMP_FOLDER| Constructor and Description |
|---|
SystemServiceLoggerMBeanImpl(Logger mLogger)
Constructs a
SystemServiceLoggerMBeanImpl. |
SystemServiceLoggerMBeanImpl(Logger mLogger,
String aDisplayName)
Constructs a
SystemServiceLoggerMBeanImpl. |
| Modifier and Type | Method and Description |
|---|---|
void |
handleNotification(Notification notification,
Object handback)
handle a notification from the Logger Configuration MBean
|
void |
postDeregister()
Post deregistration event.
|
void |
postRegister(Boolean registrationDone)
Post registration event.
|
void |
preDeregister()
Prederegistration event.
|
ObjectName |
preRegister(MBeanServer server,
ObjectName name)
Preregsitration event.
|
getDisplayName, getLoggerName, getLogLevel, setAll, setConfig, setDefault, setFine, setFiner, setFinest, setInfo, setOff, setSevere, setWarningcacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, setAttribute, setAttributes, setImplementationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDisplayName, getLoggerName, getLogLevel, setAll, setConfig, setDefault, setFine, setFiner, setFinest, setInfo, setOff, setSevere, setWarningpublic SystemServiceLoggerMBeanImpl(Logger mLogger) throws Exception
SystemServiceLoggerMBeanImpl.Exceptionpublic void handleNotification(Notification notification, Object handback)
handleNotification in interface NotificationListenernotification - - the notificationthe - callback passed inpublic ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
preRegister in interface MBeanRegistrationpreRegister in class StandardMBeanExceptionpublic void postRegister(Boolean registrationDone)
postRegister in interface MBeanRegistrationpostRegister in class StandardMBeanpublic void preDeregister()
throws Exception
preDeregister in interface MBeanRegistrationpreDeregister in class StandardMBeanExceptionpublic void postDeregister()
postDeregister in interface MBeanRegistrationpostDeregister in class StandardMBeanCopyright © 2011-2016 OpenESB Community. All Rights Reserved.