avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Hammant <Paul_Hamm...@yahoo.com>
Subject JMX Attributes
Date Mon, 26 Aug 2002 22:43:44 GMT
Peter, Huw,

It seems that if there are two @phoenix:mx-attribute tags for the same 
attribute (as might be normal for a getter and setter), them MX4J lists 
the item twice.  I have had to work one of the two ambiguously as 
follows.  Thoughts?

-ph

  package org.apache.avalon.apps.demos.helloworldserver;
  /**
   * Specifies methods to export via Management interface.
   *
   * @phoenix:mx-topic name="Greeting"
   *
   * @author  Huw Roberts <huw@mmlive.com>
   * @version 1.0
   */
  public interface HelloWorldServerMBean {
      /**
       * The greeting that is returned to each HTTP request
       *
       * @phoenix:mx-attribute
       */
      public void setGreeting( final String greeting );

      /**
       * Gets the greeting that is returned to each HTTP request
       *
       */
      String getGreeting();
  }


--
To unsubscribe, e-mail:   <mailto:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>


Mime
View raw message