Class MetaData.AttributeInfo

  • Enclosing class:
    MetaData

    private static class MetaData.AttributeInfo
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean _convert  
      private java.lang.reflect.Method _getter  
      private javax.management.MBeanAttributeInfo _info  
      private java.lang.String _name  
      private boolean _proxied  
      private java.lang.reflect.Method _setter  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private AttributeInfo​(ManagedAttribute attribute, java.lang.reflect.Method getter)  
    • Field Detail

      • _name

        private final java.lang.String _name
      • _getter

        private final java.lang.reflect.Method _getter
      • _setter

        private final java.lang.reflect.Method _setter
      • _proxied

        private final boolean _proxied
      • _convert

        private final boolean _convert
      • _info

        private final javax.management.MBeanAttributeInfo _info
    • Constructor Detail

      • AttributeInfo

        private AttributeInfo​(ManagedAttribute attribute,
                              java.lang.reflect.Method getter)
    • Method Detail

      • getAttribute

        java.lang.Object getAttribute​(ObjectMBean mbean)
                               throws javax.management.ReflectionException,
                                      javax.management.MBeanException
        Throws:
        javax.management.ReflectionException
        javax.management.MBeanException
      • setAttribute

        void setAttribute​(java.lang.Object value,
                          ObjectMBean mbean)
                   throws javax.management.ReflectionException,
                          javax.management.MBeanException
        Throws:
        javax.management.ReflectionException
        javax.management.MBeanException
      • findSetter

        private java.lang.reflect.Method findSetter​(ManagedAttribute attribute,
                                                    java.lang.reflect.Method getter,
                                                    java.lang.String name)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object