public class HierarchyDynamicMBean extends AbstractDynamicMBean implements HierarchyEventListener, javax.management.NotificationBroadcaster
构造器和说明 |
---|
HierarchyDynamicMBean() |
限定符和类型 | 方法和说明 |
---|---|
void |
addAppenderEvent(Category logger,
Appender appender) |
javax.management.ObjectName |
addLoggerMBean(java.lang.String name) |
void |
addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback) |
java.lang.Object |
getAttribute(java.lang.String attributeName) |
protected Logger |
getLogger() |
javax.management.MBeanInfo |
getMBeanInfo() |
javax.management.MBeanNotificationInfo[] |
getNotificationInfo() |
java.lang.Object |
invoke(java.lang.String operationName,
java.lang.Object[] params,
java.lang.String[] signature) |
void |
postRegister(java.lang.Boolean registrationDone) |
void |
removeAppenderEvent(Category cat,
Appender appender) |
void |
removeNotificationListener(javax.management.NotificationListener listener) |
void |
setAttribute(javax.management.Attribute attribute) |
getAppenderName, getAttributes, postDeregister, preDeregister, preRegister, registerMBean, setAttributes
public javax.management.ObjectName addLoggerMBean(java.lang.String name)
public void addNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback)
addNotificationListener
在接口中 javax.management.NotificationBroadcaster
protected Logger getLogger()
getLogger
在类中 AbstractDynamicMBean
public javax.management.MBeanInfo getMBeanInfo()
getMBeanInfo
在接口中 javax.management.DynamicMBean
public javax.management.MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo
在接口中 javax.management.NotificationBroadcaster
public java.lang.Object invoke(java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature) throws javax.management.MBeanException, javax.management.ReflectionException
invoke
在接口中 javax.management.DynamicMBean
javax.management.MBeanException
javax.management.ReflectionException
public java.lang.Object getAttribute(java.lang.String attributeName) throws javax.management.AttributeNotFoundException, javax.management.MBeanException, javax.management.ReflectionException
getAttribute
在接口中 javax.management.DynamicMBean
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException
public void addAppenderEvent(Category logger, Appender appender)
addAppenderEvent
在接口中 HierarchyEventListener
public void removeAppenderEvent(Category cat, Appender appender)
removeAppenderEvent
在接口中 HierarchyEventListener
public void postRegister(java.lang.Boolean registrationDone)
postRegister
在接口中 javax.management.MBeanRegistration
postRegister
在类中 AbstractDynamicMBean
public void removeNotificationListener(javax.management.NotificationListener listener) throws javax.management.ListenerNotFoundException
removeNotificationListener
在接口中 javax.management.NotificationBroadcaster
javax.management.ListenerNotFoundException
public void setAttribute(javax.management.Attribute attribute) throws javax.management.AttributeNotFoundException, javax.management.InvalidAttributeValueException, javax.management.MBeanException, javax.management.ReflectionException
setAttribute
在接口中 javax.management.DynamicMBean
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException