Class LayoutDynamicMBean

  • All Implemented Interfaces:
    javax.management.DynamicMBean, javax.management.MBeanRegistration

    public class LayoutDynamicMBean
    extends AbstractDynamicMBean
    • Field Detail

      • cat

        private static Logger cat
      • dConstructors

        private final javax.management.MBeanConstructorInfo[] dConstructors
      • dAttributes

        private final java.util.Vector dAttributes
      • dClassName

        private final java.lang.String dClassName
      • dynamicProps

        private final java.util.Hashtable dynamicProps
      • dOperations

        private final javax.management.MBeanOperationInfo[] dOperations
      • layout

        private final Layout layout
    • Constructor Detail

      • LayoutDynamicMBean

        public LayoutDynamicMBean​(Layout layout)
                           throws java.beans.IntrospectionException
        Throws:
        java.beans.IntrospectionException
    • Method Detail

      • buildDynamicMBeanInfo

        private void buildDynamicMBeanInfo()
                                    throws java.beans.IntrospectionException
        Throws:
        java.beans.IntrospectionException
      • getAttribute

        public java.lang.Object getAttribute​(java.lang.String attributeName)
                                      throws javax.management.AttributeNotFoundException,
                                             javax.management.MBeanException,
                                             javax.management.ReflectionException
        Throws:
        javax.management.AttributeNotFoundException
        javax.management.MBeanException
        javax.management.ReflectionException
      • getMBeanInfo

        public javax.management.MBeanInfo getMBeanInfo()
      • invoke

        public java.lang.Object invoke​(java.lang.String operationName,
                                       java.lang.Object[] params,
                                       java.lang.String[] signature)
                                throws javax.management.MBeanException,
                                       javax.management.ReflectionException
        Throws:
        javax.management.MBeanException
        javax.management.ReflectionException
      • isSupportedType

        private boolean isSupportedType​(java.lang.Class clazz)
      • setAttribute

        public void setAttribute​(javax.management.Attribute attribute)
                          throws javax.management.AttributeNotFoundException,
                                 javax.management.InvalidAttributeValueException,
                                 javax.management.MBeanException,
                                 javax.management.ReflectionException
        Throws:
        javax.management.AttributeNotFoundException
        javax.management.InvalidAttributeValueException
        javax.management.MBeanException
        javax.management.ReflectionException