Check the jboss xmbean template for how to do this.  I think most of the
template tricks you will need are in there, since the information needed
for the xmbean descriptor is approximately the same as what is needed for
constructing a dynamic mbean.

david jencks

On 2003.06.22 10:18 [EMAIL PROTECTED] wrote:
> Hi all,
>       anyone knows what i have to write in my template in order
> to loop thru all jmx.notification tags in following code ?
> 
> @jmx.notification
>     *    currencyTimeLimit="20"
>     *    description="first notification"
>     *    name="javax.management.SomeEvent"
>     *    notificationType="xd.example.first,xd.example.second"
>     *    persistLocation="pl2"
>     *    persistName="JBossXMLExample2"
>     *    persistPeriod="20"
>     *    persistPolicy="Never"
>     * @jmx.notification
>     *    description="second notification"
>     *    name="javax.management.SomeOtherEvent"
>     *    notificationType="x 
>     *
> 
> i want to get both of the jmx.notification..
> 
> i have tried with following code
> 
> <XDtClass:forAllClassTags>
>   <XDtClass:ifHasClassTag tagName="jmx:notification">
>           String notif = <XDtClass:classTagValue
> tagName="jmx:notification" paramName="name" />;
>           </XDtClass:ifHasClassTag>
> </XDtClass:forAllClassTags>
> 
> 
> but i got error....
> 
> any suggestions??
> 
> thanx and regards
>       marco 
> 
> 
> 
> > -----Original Message-----
> > From: ext [mailto:[EMAIL PROTECTED]
> > Sent: 21 June, 2003 18:11
> > To: [EMAIL PROTECTED]
> > Subject: [Xdoclet-devel] custom JMX tag for generating Dynamic MBean
> > 
> > 
> > hi all,
> >     i m new with XDoclet.. i  have written an application 
> > that using XML and XSL will
> > generate the code for a dynamic MBean
> > when posting my code on mailing lists, i got the suggestion 
> > to try to make it an XDoclet task..
> > but i dont' know where to start
> > i have read architecture docs, but it's not very clear to me
> > 
> > anyone can provide me a starting lists of things to do to 
> > create my own task?
> > 
> > thanx and regards
> >     marco
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU 
> > Hosting Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly 
> > Commission!
> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> > _______________________________________________
> > xdoclet-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
> > 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
> 
> 


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to