public class AppenderDynamicMBean extends AbstractDynamicMBean
Modifier and Type | Field and Description |
---|---|
private Appender |
appender |
private static Logger |
cat |
private Vector |
dAttributes |
private String |
dClassName |
private MBeanConstructorInfo[] |
dConstructors |
private String |
dDescription |
private MBeanOperationInfo[] |
dOperations |
private Hashtable |
dynamicProps |
server
Constructor and Description |
---|
AppenderDynamicMBean(Appender appender) |
Modifier and Type | Method and Description |
---|---|
private void |
buildDynamicMBeanInfo() |
Object |
getAttribute(String attributeName) |
protected Logger |
getLogger() |
MBeanInfo |
getMBeanInfo() |
Object |
invoke(String operationName,
Object[] params,
String[] signature) |
private boolean |
isSupportedType(Class clazz) |
ObjectName |
preRegister(MBeanServer server,
ObjectName name) |
(package private) void |
registerLayoutMBean(Layout layout) |
void |
setAttribute(Attribute attribute) |
getAppenderName, getAttributes, postDeregister, postRegister, preDeregister, registerMBean, setAttributes
private MBeanConstructorInfo[] dConstructors
private Vector dAttributes
private String dClassName
private Hashtable dynamicProps
private MBeanOperationInfo[] dOperations
private String dDescription
public AppenderDynamicMBean(Appender appender) throws IntrospectionException
IntrospectionException
private void buildDynamicMBeanInfo() throws IntrospectionException
IntrospectionException
private boolean isSupportedType(Class clazz)
public MBeanInfo getMBeanInfo()
public Object invoke(String operationName, Object[] params, String[] signature) throws MBeanException, ReflectionException
MBeanException
ReflectionException
void registerLayoutMBean(Layout layout)
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
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses