Save This Page
Home » openjdk-7 » javax » management » j2ee » [javadoc | source]
    1   package javax.management.j2ee;
    2   
    3   import java.io.Serializable;
    4   
    5   /**
    6    * Represents specific performance data attributes for each
    7    * of the specific managed object types.
    8    *
    9    * @author <a href="mailto:marc@jboss.org">Marc Fleury</a>
   10    * @author <a href="mailto:andreas@jboss.org">Andreas Schaefer</a>
   11    * @version $Revision: 1.2 $
   12    *   
   13    * <p><b>Revisions:</b>
   14    *
   15    * <p><b>200112009 Andreas Schaefer:</b>
   16    * <ul>
   17    * <li> Adjustment to the new JBoss guide lines and also adjustments
   18    *      to the latest JSR-77 specification
   19    * </ul>
   20    **/
   21   public interface Stats
   22      extends Serializable
   23   {
   24      // Constants -----------------------------------------------------
   25      
   26      // Public --------------------------------------------------------
   27      
   28      /**
   29       * @return The list of names of attributes for the specific Stats submodel
   30       *         that this object supports. Attributes named in the list match
   31       *         the attributes that will return a Statistics object of the
   32       *         appropriate type.
   33       **/
   34      public String[] getStatisticNames();
   35   
   36      /**
   37       * @return The list of Statistics objects supported by this Stats object
   38       **/
   39      public Statistic[] getStatistics();
   40   
   41      /**
   42       * Delivers a Statistic by its given name
   43       *
   44       * @param pName Name of the Statistic to look up.
   45       *
   46       * @return A Statistic if the given name is found otherwise null
   47       **/
   48      public Statistic getStatistic( String pName );
   49   
   50      // Package protected ---------------------------------------------
   51      
   52      // Protected -----------------------------------------------------
   53      
   54      // Static inner classes -------------------------------------------------
   55   }

Save This Page
Home » openjdk-7 » javax » management » j2ee » [javadoc | source]