Class FeatureInfo

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    AttributeInfo, NotificationInfo, OperationInfo, ParameterInfo

    public class FeatureInfo
    extends java.lang.Object
    implements java.io.Serializable

    Convenience base class for AttributeInfo and OperationInfo classes that will be used to collect configuration information for the ModelMBean beans exposed for management.

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String description
      Human-readable description of this feature.
      protected javax.management.MBeanFeatureInfo info
      The underlying JMX MBeanFeatureInfo object.
      protected java.lang.String name
      The name of this feature.
      protected java.lang.String type
      The fully qualified Java class name of this element.
    • Constructor Summary

      Constructors 
      Constructor Description
      FeatureInfo()
      Default constructor for FeatureInfo.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Returns the human-readable description of this feature.
      java.lang.String getName()
      Returns the name of this feature.
      java.lang.String getType()
      Returns the fully qualified Java class name of this element.
      void setDescription​(java.lang.String description)  
      void setName​(java.lang.String name)  
      void setType​(java.lang.String type)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • description

        protected java.lang.String description
        Human-readable description of this feature.
      • name

        protected java.lang.String name
        The name of this feature.
      • info

        protected javax.management.MBeanFeatureInfo info
        The underlying JMX MBeanFeatureInfo object.
      • type

        protected java.lang.String type
        The fully qualified Java class name of this element.
    • Constructor Detail

      • FeatureInfo

        public FeatureInfo()
        Default constructor for FeatureInfo.
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Returns the human-readable description of this feature.
        Returns:
        the human-readable description of this feature
      • setDescription

        public void setDescription​(java.lang.String description)
      • getName

        public java.lang.String getName()
        Returns the name of this feature.
        Returns:
        the name of this feature, which must be unique among features in the same collection
      • setName

        public void setName​(java.lang.String name)
      • getType

        public java.lang.String getType()
        Returns the fully qualified Java class name of this element.
        Returns:
        the fully qualified Java class name of this element
      • setType

        public void setType​(java.lang.String type)