User: juhalindfors
  Date: 02/02/24 06:18:56

  Modified:    src/main/javax/management MBeanFeatureInfo.java
  Log:
  javadoc
  
  Revision  Changes    Path
  1.3       +35 -7     jmx/src/main/javax/management/MBeanFeatureInfo.java
  
  Index: MBeanFeatureInfo.java
  ===================================================================
  RCS file: /cvsroot/jboss/jmx/src/main/javax/management/MBeanFeatureInfo.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MBeanFeatureInfo.java     11 Dec 2001 21:18:24 -0000      1.2
  +++ MBeanFeatureInfo.java     24 Feb 2002 14:18:55 -0000      1.3
  @@ -6,37 +6,65 @@
    */
   package javax.management;
   
  +import java.io.Serializable;
  +
   /**
    * General information for MBean descriptor objects.
    *
    * @author  <a href="mailto:[EMAIL PROTECTED]";>Juha Lindfors</a>.
    *
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
  -public class MBeanFeatureInfo extends java.lang.Object
  -   implements java.io.Serializable
  +public class MBeanFeatureInfo 
  +   implements Serializable
   {
   
      // Attributes ----------------------------------------------------
  -   private String name = null;
  -   private String description = null;
  +   
  +   /**
  +    * Name of the MBean feature.
  +    */
  +   protected String name = null;
  +   
  +   /**
  +    * Human readable description string of the MBean feature.
  +    */
  +   protected String description = null;
   
      // Constructors --------------------------------------------------
  -   public MBeanFeatureInfo(java.lang.String name,
  -                           java.lang.String description)
  +   
  +   /**
  +    * Constructs an MBean feature info object.
  +    *
  +    * @param   name name of the MBean feature
  +    * @param   description human readable description string of the feature
  +    */
  +   public MBeanFeatureInfo(String name, String description)
      {
         this.name = name;
         this.description = description;
      }
   
      // Public --------------------------------------------------------
  +   
  +   /**
  +    * Returns the name of the MBean feature.
  +    *
  +    * @return  name string
  +    */
      public String getName()
      {
         return name;
      }
   
  +   /** 
  +    * Returns the description of the MBean feature.
  +    *
  +    * @return  a human readable description string
  +    */
      public String getDescription()
      {
         return description;
      }
  +   
   }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to