User: d_jencks
  Date: 02/09/21 10:12:35

  Modified:    modules/jmx/src/META-INF xtags.xml
  Log:
  improved conditions in jmx xtags, and added support for persistence-manager element
  
  Revision  Changes    Path
  1.11      +44 -4     xdoclet/modules/jmx/src/META-INF/xtags.xml
  
  Index: xtags.xml
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdoclet/modules/jmx/src/META-INF/xtags.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -w -r1.10 -r1.11
  --- xtags.xml 21 Sep 2002 06:17:32 -0000      1.10
  +++ xtags.xml 21 Sep 2002 17:12:34 -0000      1.11
  @@ -84,6 +84,13 @@
             <mandatory>false</mandatory>
           </parameter>
           <parameter type="text">
  +          <name>persistence-manager</name>
  +          <usage-description>
  +             Specifies the fully qualified class name of a persistence manager for 
this mbean (JBoss specific).
  +          </usage-description>
  +          <mandatory>false</mandatory>
  +        </parameter>
  +        <parameter type="text">
             <name>currencyTimeLimit</name>
             <usage-description>
                Specifies how long the mbeans state may be considered valid.
  @@ -140,12 +147,20 @@
           <usage-description>
                Defines a jmx managed operation.  This method will be included in a
                standard mbean interface and marked as a managed operation in xmbean 
metadata.
  -             jmx.managed-parameter tags can be used to describe the parameters.
  +             jmx.managed-parameter tags must be used to describe the parameters.
           </usage-description>
           <unique>true</unique>
           <condition-description>
                The jmx.managed-operation tag can be used on any method.
           </condition-description>
  +        <condition type="and">
  +          <condition type="method"/>
  +          <condition type="not">
  +            <condition type="tag-exists">
  +              <condition-parameter>jmx.managed-attribute</condition-parameter>
  +            </condition>
  +          </condition>
  +        </condition>
           <parameter type="text">
             <name>impact</name>
             <usage-description>
  @@ -187,6 +202,14 @@
           <condition-description>
                The jmx.managed-attribute tag can be used on any method.
           </condition-description>
  +        <condition type="and">
  +          <condition type="method"/>
  +          <condition type="not">
  +            <condition type="tag-exists">
  +              <condition-parameter>jmx.managed-operation</condition-parameter>
  +            </condition>
  +          </condition>
  +        </condition>
           <parameter type="text">
             <name>access</name>
             <usage-description>
  @@ -296,6 +319,7 @@
           <condition-description>
                The jmx.managed-constructor tag can be used on any constructor. The 
jmx.managed-parameter tags are used to generate parameter descriptions.
           </condition-description>
  +        <condition type="constructor"/>
           <parameter type="text">
             <name>description</name>
             <usage-description>
  @@ -322,6 +346,7 @@
           <condition-description>
                The jmx.notification tag can be used multiple times in any mbean.
           </condition-description>
  +        <condition type="class"/>
           <parameter type="text">
             <name>description</name>
             <usage-description>
  @@ -397,14 +422,29 @@
           <name>jmx.managed-parameter</name>
           <usage-description>
                Defines an argument for a managed operation or managed constructor.  
  -             NOTE: this tag is somewhat defective in that some of the info can be 
  -             determined automatically.  You should expect the usage of this tag to 
  -             change without notice.
  +             NOTE: this tag is somewhat defective in that some of the info (type) 
can be 
  +             determined automatically and there is no check that the number of 
parameters 
  +             or their types specified actually match the method.  You should expect 
the 
  +             usage of this tag to change without notice.
           </usage-description>
           <unique>false</unique>
           <condition-description>
                jmx.managed-parameter tag can be used on constructors and operations 
with arguments. 
           </condition-description>
  +        <condition type="or">
  +          <condition type="and">
  +            <condition type="constructor"/>
  +            <condition type="tag-exists">
  +              <condition-parameter>jmx.managed-constructor</condition-parameter>
  +            </condition>
  +          </condition>
  +          <condition type="and">
  +            <condition type="method"/>
  +            <condition type="tag-exists">
  +              <condition-parameter>jmx.managed-operation</condition-parameter>
  +            </condition>
  +          </condition>
  +        </condition>
           <parameter type="text">
             <name>name</name>
             <usage-description>
  
  
  


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

Reply via email to