Update of /cvsroot/xdoclet/xdoclet/modules/ejb/src/META-INF
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23756/modules/ejb/src/META-INF
Modified Files:
xtags.xml
Log Message:
added support for ejb 2.1 message destination links (XDT-1307)
Index: xtags.xml
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/modules/ejb/src/META-INF/xtags.xml,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -r1.59 -r1.60
*** xtags.xml 1 Mar 2005 23:38:55 -0000 1.59
--- xtags.xml 25 Mar 2005 21:00:43 -0000 1.60
***************
*** 2730,2733 ****
--- 2730,2869 ----
</parameter>
</tag>
+ <tag>
+ <level>class</level>
+ <name>ejb.message-destination</name>
+ <usage-description>
+ The message-destinationType specifies a message
+ destination. The logical destination described by this
+ element is mapped to a physical destination by the Deployer.
+ Only applicable to EJB 2.1 message-driven beans.
+ </usage-description>
+ <unique>false</unique>
+ <condition-description>EJB 2.1 messge-driven
beans</condition-description>
+ <condition type="and">
+ <condition type="class"/>
+ <condition type="type">
+
<condition-parameter>javax.ejb.MessagDrivenBean</condition-parameter>
+ </condition>
+ </condition>
+ <parameter type="text">
+ <name>name</name>
+ <usage-description>
+ Contains the name of the message-destination.
+ </usage-description>
+ <mandatory>true</mandatory>
+ <default>false</default>
+ </parameter>
+ <parameter type="text">
+ <name>display-name</name>
+ <usage-description>
+ Contains the display name of the
message-destination.
+ </usage-description>
+ <mandatory>false</mandatory>
+ <default>false</default>
+ </parameter>
+ <parameter type="text">
+ <name>description</name>
+ <usage-description>
+ Contains the description of the
message-destination.
+ </usage-description>
+ <mandatory>false</mandatory>
+ <default>false</default>
+ </parameter>
+ </tag>
+ <tag>
+ <level>class</level>
+ <name>ejb.destination-ref</name>
+ <usage-description>
+ Contains a declaration of Deployment Component's reference to
+ a message destination associated with a resource in Deployment
+ Component's environment. Only applicable to EJB 2.1.
+ </usage-description>
+ <unique>false</unique>
+ <condition-description>Applicable to all EJB 2.1
beans.</condition-description>
+ <condition type="and">
+ <condition type="class"/>
+ <condition type="or">
+ <condition type="type">
+ <condition-parameter>javax.ejb.EntityBean</condition-parameter>
+ </condition>
+ <condition type="type">
+ <condition-parameter>javax.ejb.SessionBean</condition-parameter>
+ </condition>
+ <condition type="type">
+
<condition-parameter>javax.ejb.MessageDrivenBean</condition-parameter>
+ </condition>
+ </condition>
+ </condition>
+ <parameter type="text">
+ <name>name</name>
+ <usage-description>
+ Specifies the name of a message destination reference; its
+ value is the environment entry name used in
+ Deployment Component code. The name is a JNDI name
+ relative to the java:comp/env context.
+ </usage-description>
+ <mandatory>true</mandatory>
+ </parameter>
+ <parameter type="text">
+ <name>description</name>
+ <usage-description>Optional description of a message destination
reference.</usage-description>
+ <mandatory>false</mandatory>
+ </parameter>
+ <parameter type="text">
+ <name>type</name>
+ <usage-description>
+ Specifies the type of the destination. The type is specified
+ by the Java interface expected to be implemented by the
destination,
+ eg javax.jms.Queue.
+ </usage-description>
+ <mandatory>true</mandatory>
+ </parameter>
+ <parameter type="text">
+ <name>usage</name>
+ <usage-description>
+ Specifies the use of the message destination indicated by the
+ reference. The value indicates whether messages are consumed
+ from the message destination, produced for the destination, or
both.
+ The Assembler makes use of this information in linking producers
+ of a destination with its consumers.
+ </usage-description>
+ <mandatory>false</mandatory>
+ <default></default>
+ <option-sets>
+ <option-set>
+ <default>Produces</default>
+ <options>
+ <option>Consumes</option>
+ <option>Produces</option>
+ <option>ConsumesProduces</option>
+ </options>
+ </option-set>
+ </option-sets>
+ </parameter>
+ <parameter type="text">
+ <name>link</name>
+ <usage-description>
+ Used to link a message destination reference to a message
destination.
+
+ The Assembler sets the value to reflect the flow of messages
+ between producers and consumers in the application.
+
+ The value must be the message-destination-name of a message
+ destination in the same Deployment File or in another
+ Deployment File in the same J2EE application unit.
+
+ Alternatively, the value may be composed of a path name
+ specifying a Deployment File containing the referenced
+ message destination with the message-destination-name of the
+ destination appended and separated from the path name by
+ "#". The path name is relative to the Deployment File
+ containing Deployment Component that is referencing the
+ message destination. This allows multiple message
+ destinations with the same name to be uniquely identified.
+ </usage-description>
+ <mandatory>false</mandatory>
+ </parameter>
+ </tag>
</tags>
</namespace>
-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel