public class AppenderDynamicMBean extends AbstractDynamicMBean
构造器和说明 |
---|
AppenderDynamicMBean(Appender appender) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
getAttribute(java.lang.String attributeName) |
protected Logger |
getLogger() |
javax.management.MBeanInfo |
getMBeanInfo() |
java.lang.Object |
invoke(java.lang.String operationName,
java.lang.Object[] params,
java.lang.String[] signature) |
javax.management.ObjectName |
preRegister(javax.management.MBeanServer server,
javax.management.ObjectName name) |
void |
setAttribute(javax.management.Attribute attribute) |
getAppenderName, getAttributes, postDeregister, postRegister, preDeregister, registerMBean, setAttributes
public AppenderDynamicMBean(Appender appender) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public javax.management.MBeanInfo getMBeanInfo()
public java.lang.Object invoke(java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature) throws javax.management.MBeanException, javax.management.ReflectionException
javax.management.MBeanException
javax.management.ReflectionException
protected Logger getLogger()
getLogger
在类中 AbstractDynamicMBean
public java.lang.Object getAttribute(java.lang.String attributeName) throws javax.management.AttributeNotFoundException, javax.management.MBeanException, javax.management.ReflectionException
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException
public void setAttribute(javax.management.Attribute attribute) throws javax.management.AttributeNotFoundException, javax.management.InvalidAttributeValueException, javax.management.MBeanException, javax.management.ReflectionException
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException
public javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName name)
preRegister
在接口中 javax.management.MBeanRegistration
preRegister
在类中 AbstractDynamicMBean