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, setAttributes
public AppenderDynamicMBean(Appender appender) throws IntrospectionException
IntrospectionException
public MBeanInfo getMBeanInfo()
public Object invoke(String operationName, Object[] params, String[] signature) throws MBeanException, ReflectionException
MBeanException
ReflectionException
protected Logger getLogger()
getLogger
in class AbstractDynamicMBean
public Object getAttribute(String attributeName) throws AttributeNotFoundException, MBeanException, ReflectionException
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
public ObjectName preRegister(MBeanServer server, ObjectName name)
preRegister
in interface MBeanRegistration
preRegister
in class AbstractDynamicMBean
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.