Looks good.  With luck I will get it into xdoclet shortly.

I want all of jboss to use these xdoclet tags and to convert all the mbeans
to xmbeans so they can have  nice descriptions on the jmx-console, but I am
only one person and I really hoped with an example others would migrate the
mbeans they wrote.  So far that hasn't happened.  Help welcome.

david

On 2003.03.01 12:55 Neal Sanche wrote:
> On Saturday 01 March 2003 11:20 am, Neal Sanche wrote:
> > I'm probably going to toy with how to modify the XDoclet template
> > to add the Class level tag for anonymous depends as an excercise,
> > just wanted to know a little more.
> 
> Alright, so I toyed with the XDoclet 1.2b3 (latest) source tree and 
> made the following modification to jboss-service-template.xdt:
> 
>        </XDtType:ifIsOfType>
>      </XDtProperty:ifHasParamWithTag>
>    </XDtProperty:forAllPropertiesWithTag>
> +
> +  <XDtClass:forAllClassTags tagName="jmx.depends">
> +    <depends><XDtClass:classTagValue tagName="jmx.depends" 
> paramName="object"/></depends>
> +  </XDtClass:forAllClassTags>
>    </mbean>
> 
>    </XDtClass:ifClassTagValueEquals>
>  </XDtClass:forAllClasses>
> 
> The lines with '+' in front are what I added near where the </mbean> 
> tag is output. This allows the following as a class tag to enable an 
> anonymous depends to be set up:
> 
> @jmx.depends object="..."
> 
> I guess I could have made it part of the @jmx.mbean tag, but this way 
> you can have more than one of them. Do you think this is reasonable?
> 
> -Neal
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to