Update of /cvsroot/xdoclet/xdoclet/modules/jboss/src/META-INF
In directory sc8-pr-cvs1:/tmp/cvs-serv12648/src/META-INF

Modified Files:
        xtags.xml 
Log Message:
- added ability to specify <read-ahead> elements within the <ejb-relationship-role> 
element of an <ejb-relation>
- two new tags: @jboss.relation-read-ahead and @jboss.target-relation-read-ahead
  - similar to how @jboss.relation and @jboss.target-relation work
  - @jboss.relation-read-ahead specifies the read-ahead for the source and 
@jboss.target-relation-read-ahead specifies the blind side read-ahead


Index: xtags.xml
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/modules/jboss/src/META-INF/xtags.xml,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** xtags.xml   13 Dec 2002 20:17:28 -0000      1.26
--- xtags.xml   13 Dec 2002 20:56:38 -0000      1.27
***************
*** 873,876 ****
--- 873,953 ----
        <tag>
          <level>method</level>
+         <name>jboss.relation-read-ahead</name>
+         <usage-description><![CDATA[
+          Used to customize the read-ahead component of relationships via 
+jbosscmp-jdbc.xml for JBoss 3.0.
+          NOTE: If you replace jboss.relation-read-ahead with 
+jboss.target-relation-read-ahead, you can modify the blind side of a unidirectional 
+relationship.
+         ]]></usage-description>
+         <unique>false</unique>
+         <condition-description>CMR field</condition-description>
+         <condition type="and">
+           <condition type="method"/>
+           <condition type="type">
+             <condition-parameter>javax.ejb.EntityBean</condition-parameter>
+           </condition>
+           <!-- make sure this is a relation -->
+           <condition type="tag-exists">
+             <condition-parameter>ejb.relation</condition-parameter>
+           </condition>
+           <condition type="owner">
+             <!-- check the owning class to be sure it is a CMP entity bean -->
+             <condition type="tag-param">
+               <condition-parameter>ejb.bean</condition-parameter>
+               <condition-parameter>type</condition-parameter>
+               <condition-parameter>CMP</condition-parameter>
+             </condition>
+           </condition>
+           <condition type="public"/>
+           <condition type="abstract"/>
+           <condition type="starts-with">
+             <condition-parameter>get</condition-parameter>
+           </condition>
+         </condition>
+         <parameter type="text">
+           <name>strategy</name>
+           <usage-description>Specifies the strategy used to read-ahead data in 
+queries.</usage-description>
+           <mandatory>true</mandatory>
+           <option-sets>
+             <option-set>
+               <options>
+                 <option>none</option>
+                 <option>on-load</option>
+                 <option>on-find</option>
+               </options>
+             </option-set>
+           </option-sets>
+         </parameter>
+         <parameter type="int">
+           <name>page-size</name>
+           <usage-description>Specifies the number of entities that will be read in a 
+single read-ahead load query.</usage-description>
+           <mandatory>false</mandatory>
+           <condition type="and">
+             <condition type="class"/>
+             <condition type="not">
+               <condition type="tag-param">
+                 <condition-parameter>jboss:read-ahead</condition-parameter>
+                 <condition-parameter>strategy</condition-parameter>
+                 <condition-parameter>none</condition-parameter>
+               </condition>
+             </condition>
+           </condition>
+         </parameter>
+         <parameter type="text">
+           <name>eager-load-group</name>
+           <usage-description>Contains the name of the load group that will eager 
+loaded for this entity.</usage-description>
+           <mandatory>false</mandatory>
+           <condition type="and">
+             <condition type="class"/>
+             <condition type="not">
+               <condition type="tag-param">
+                 <condition-parameter>jboss:read-ahead</condition-parameter>
+                 <condition-parameter>strategy</condition-parameter>
+                 <condition-parameter>none</condition-parameter>
+               </condition>
+             </condition>
+           </condition>
+         </parameter>
+       </tag>
+       <tag>
+         <level>method</level>
          <name>jboss.persistence</name>
          <usage-description>



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to