public class LoggerDynamicMBean extends AbstractDynamicMBean implements javax.management.NotificationListener
| Constructor and Description |
|---|
LoggerDynamicMBean(Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String attributeName) |
protected Logger |
getLogger() |
javax.management.MBeanInfo |
getMBeanInfo() |
void |
handleNotification(javax.management.Notification notification,
Object handback) |
Object |
invoke(String operationName,
Object[] params,
String[] signature) |
void |
postRegister(Boolean registrationDone) |
void |
setAttribute(javax.management.Attribute attribute) |
getAppenderName, getAttributes, postDeregister, preDeregister, preRegister, registerMBean, setAttributespublic LoggerDynamicMBean(Logger logger)
public void handleNotification(javax.management.Notification notification,
Object handback)
handleNotification in interface javax.management.NotificationListenerprotected Logger getLogger()
getLogger in class AbstractDynamicMBeanpublic javax.management.MBeanInfo getMBeanInfo()
getMBeanInfo in interface javax.management.DynamicMBeanpublic Object invoke(String operationName, Object[] params, String[] signature) throws javax.management.MBeanException, javax.management.ReflectionException
invoke in interface javax.management.DynamicMBeanjavax.management.MBeanExceptionjavax.management.ReflectionExceptionpublic Object getAttribute(String attributeName) throws javax.management.AttributeNotFoundException, javax.management.MBeanException, javax.management.ReflectionException
getAttribute in interface javax.management.DynamicMBeanjavax.management.AttributeNotFoundExceptionjavax.management.MBeanExceptionjavax.management.ReflectionExceptionpublic void setAttribute(javax.management.Attribute attribute)
throws javax.management.AttributeNotFoundException,
javax.management.InvalidAttributeValueException,
javax.management.MBeanException,
javax.management.ReflectionException
setAttribute in interface javax.management.DynamicMBeanjavax.management.AttributeNotFoundExceptionjavax.management.InvalidAttributeValueExceptionjavax.management.MBeanExceptionjavax.management.ReflectionExceptionpublic void postRegister(Boolean registrationDone)
postRegister in interface javax.management.MBeanRegistrationpostRegister in class AbstractDynamicMBeanCopyright © 1999-2012 Apache Software Foundation. All Rights Reserved.