public class AppenderDynamicMBean extends AbstractDynamicMBean
| Constructor and Description |
|---|
AppenderDynamicMBean(Appender appender) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String attributeName) |
protected Logger |
getLogger() |
MBeanInfo |
getMBeanInfo() |
Object |
invoke(String operationName,
Object[] params,
String[] signature) |
ObjectName |
preRegister(MBeanServer server,
ObjectName name) |
void |
setAttribute(Attribute attribute) |
getAppenderName, getAttributes, postDeregister, postRegister, preDeregister, registerMBean, setAttributespublic AppenderDynamicMBean(Appender appender) throws IntrospectionException
IntrospectionExceptionpublic Object getAttribute(String attributeName) throws AttributeNotFoundException, MBeanException, ReflectionException
protected Logger getLogger()
getLogger in class AbstractDynamicMBeanpublic MBeanInfo getMBeanInfo()
public Object invoke(String operationName, Object[] params, String[] signature) throws MBeanException, ReflectionException
MBeanExceptionReflectionExceptionpublic ObjectName preRegister(MBeanServer server, ObjectName name)
preRegister in interface MBeanRegistrationpreRegister in class AbstractDynamicMBeanpublic void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
Copyright © 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.