类 MBeanAttribute


  • public class MBeanAttribute
    extends java.lang.Object
    MBean Attribute with MBeanAttributeInfo and its' optional value
    从以下版本开始:
    1.0.0
    作者:
    Mercy
    另请参阅:
    Attribute
    • 构造器概要

      构造器 
      构造器 说明
      MBeanAttribute​(javax.management.MBeanInfo declaringMBeanInfo, javax.management.MBeanAttributeInfo attributeInfo, java.lang.Object value)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      javax.management.MBeanAttributeInfo getAttributeInfo()  
      javax.management.MBeanInfo getDeclaringMBeanInfo()  
      java.lang.String getName()  
      java.lang.String getType()  
      java.lang.Object getValue()  
      boolean isIs()
      Indicates if this attribute has an "is" getter.
      boolean isReadable()
      Whether the value of the attribute can be read.
      boolean isWritable()
      Whether new values can be written to the attribute.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • MBeanAttribute

        public MBeanAttribute​(@Nonnull
                              javax.management.MBeanInfo declaringMBeanInfo,
                              @Nonnull
                              javax.management.MBeanAttributeInfo attributeInfo,
                              @Nonnull(when=MAYBE)
                              java.lang.Object value)
    • 方法详细资料

      • getDeclaringMBeanInfo

        @Nonnull
        public javax.management.MBeanInfo getDeclaringMBeanInfo()
      • getName

        @Nonnull
        public java.lang.String getName()
        返回:
        Get the attribute name of MBean
      • getType

        @Nonnull
        public java.lang.String getType()
        返回:
        Get the string presenting attribute type of MBeans
      • isReadable

        public boolean isReadable()
        Whether the value of the attribute can be read.
        返回:
        True if the attribute can be read, false otherwise.
      • isWritable

        public boolean isWritable()
        Whether new values can be written to the attribute.
        返回:
        True if the attribute can be written to, false otherwise.
      • isIs

        public boolean isIs()
        Indicates if this attribute has an "is" getter.
        返回:
        true if this attribute has an "is" getter.
      • getAttributeInfo

        @Nonnull
        public javax.management.MBeanAttributeInfo getAttributeInfo()
        返回:
        Get the MBeanAttributeInfo
      • getValue

        public java.lang.Object getValue()
        返回:
        Get the attribute value of MBean, may be null