public class LoggerDynamicMBean extends AbstractDynamicMBean implements NotificationListener
| Constructor and Description |
|---|
LoggerDynamicMBean(Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String attributeName) |
protected Logger |
getLogger() |
MBeanInfo |
getMBeanInfo() |
void |
handleNotification(Notification notification,
Object handback) |
Object |
invoke(String operationName,
Object[] params,
String[] signature) |
void |
postRegister(Boolean registrationDone) |
void |
setAttribute(Attribute attribute) |
getAppenderName, getAttributes, postDeregister, preDeregister, preRegister, registerMBean, setAttributespublic LoggerDynamicMBean(Logger logger)
public Object getAttribute(String attributeName) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute in interface DynamicMBeanAttributeNotFoundExceptionMBeanExceptionReflectionExceptionprotected Logger getLogger()
getLogger in class AbstractDynamicMBeanpublic MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeanpublic void handleNotification(Notification notification, Object handback)
handleNotification in interface NotificationListenerpublic Object invoke(String operationName, Object[] params, String[] signature) throws MBeanException, ReflectionException
invoke in interface DynamicMBeanMBeanExceptionReflectionExceptionpublic void postRegister(Boolean registrationDone)
postRegister in interface MBeanRegistrationpostRegister in class AbstractDynamicMBeanpublic void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute in interface DynamicMBeanAttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionExceptionCopyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.