Thanks! I added this to xdoclet cvs with the change of using tags like
@jboss.depends object-name="test:service=Test" This is a jboss specific feature so it should use @jboss tags. This should make it into xdoclet 1.2b3 david jencks 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
