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 <[EMAIL PROTECTED]>
> * @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:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>