This one would extend the jboss-xmbean tag to have the xmbean-code Attribute
be declared in xdoclet:
@jboss.xmbean code="your.specific.modelMBeanCode"
It is ok to have an empty declaration as the mbean-loader in JBoss checks
for length()>0.
Cheers, Mika
________________________________
cyber:con GmbH
Mika G�ckel
Rathausallee 10
53757 Sankt Augustin
[EMAIL PROTECTED]
Tel.: +49-(0)2241/9350-0
Fax : +49-(0)2241/9350-99
Mob.: +49-(0)172/2792771
Index: jboss-service-template.xdt
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/jboss/src/xdoclet/modules/jboss/jmx/resourc
es/jboss-service-template.xdt,v
retrieving revision 1.13
diff -u -r1.13 jboss-service-template.xdt
--- jboss-service-template.xdt 26 Apr 2003 15:00:50 -0000 1.13
+++ jboss-service-template.xdt 24 Nov 2004 22:07:26 -0000
@@ -19,6 +19,7 @@
</XDtClass:forAllClassTags>
<mbean code="<XDtClass:fullClassName/>"
name="<XDtClass:classTagValue tagName="jmx.mbean"
paramName="name"/>"
+ <XDtClass:ifHasClassTag
tagName="jboss:xmbean">xmbean-code="<XDtClass:classTagValue
tagName="jboss:xmbean" paramName="code"/>"</XDtClass:ifHasClassTag>
<XDtClass:ifHasClassTag
tagName="jboss:xmbean">xmbean-dd="<XDtPackage:packageNameAsPath/>/<XDtClass:
className/>.xml"</XDtClass:ifHasClassTag>>
<XDtClass:ifHasClassTag tagName="jmx.mbean" paramName="description">
<!--<XDtClass:classTagValue tagName="jmx.mbean"
paramName="description"/>-->
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel