public class LayoutDynamicMBean extends AbstractDynamicMBean
Modifier and Type | Field and Description |
---|---|
private static Logger |
cat |
private java.util.Vector |
dAttributes |
private java.lang.String |
dClassName |
private javax.management.MBeanConstructorInfo[] |
dConstructors |
private java.lang.String |
dDescription |
private javax.management.MBeanOperationInfo[] |
dOperations |
private java.util.Hashtable |
dynamicProps |
private Layout |
layout |
server
Constructor and Description |
---|
LayoutDynamicMBean(Layout layout) |
Modifier and Type | Method and Description |
---|---|
private void |
buildDynamicMBeanInfo() |
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) |
private boolean |
isSupportedType(java.lang.Class clazz) |
void |
setAttribute(javax.management.Attribute attribute) |
getAppenderName, getAttributes, postDeregister, postRegister, preDeregister, preRegister, registerMBean, setAttributes
private javax.management.MBeanConstructorInfo[] dConstructors
private java.util.Vector dAttributes
private java.lang.String dClassName
private java.util.Hashtable dynamicProps
private javax.management.MBeanOperationInfo[] dOperations
private java.lang.String dDescription
private static Logger cat
private Layout layout
public LayoutDynamicMBean(Layout layout) throws java.beans.IntrospectionException
java.beans.IntrospectionException
private void buildDynamicMBeanInfo() throws java.beans.IntrospectionException
java.beans.IntrospectionException
private boolean isSupportedType(java.lang.Class clazz)
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
in class 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