avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Huw Roberts <...@apache.org>
Subject Re: JMX Attributes
Date Sat, 31 Aug 2002 20:18:25 GMT
The 'plan' was to mark up just the getter (or the setter if there is no 
getter).  I've checked in the documentation for that its in

docs/guide-mx-xdoctags.html

Would you consider this acceptable?

- huw

Paul Hammant wrote:
> 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>
> 
> 




--
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