Update of
/cvsroot/xdoclet/xdoclet/modules/jboss/src/xdoclet/modules/jboss/ejb/resources
In directory sc8-pr-cvs1:/tmp/cvs-serv12648/src/xdoclet/modules/jboss/ejb/resources
Modified Files:
jbosscmp-jdbc_xml.xdt
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: jbosscmp-jdbc_xml.xdt
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/jboss/src/xdoclet/modules/jboss/ejb/resources/jbosscmp-jdbc_xml.xdt,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -r1.34 -r1.35
*** jbosscmp-jdbc_xml.xdt 15 Nov 2002 20:51:57 -0000 1.34
--- jbosscmp-jdbc_xml.xdt 13 Dec 2002 20:56:40 -0000 1.35
***************
*** 349,352 ****
--- 349,364 ----
</XDtJBEjbRel:ifNotRightHasFK>
</XDtMethod:ifDoesntHaveMethodTag>
+
+ <XDtJBEjbRel:ifLeftHasReadAhead>
+ <read-ahead>
+ <strategy><XDtJBEjbRel:leftReadAheadStrategy/></strategy>
+ <XDtJBEjbRel:ifLeftHasReadAheadPageSize>
+ <page-size><XDtJBEjbRel:leftReadAheadPageSize/></page-size>
+ </XDtJBEjbRel:ifLeftHasReadAheadPageSize>
+ <XDtJBEjbRel:ifLeftHasReadAheadEagerLoadGroup>
+
+<eager-load-group><XDtJBEjbRel:leftReadAheadEagerLoadGroup/></eager-load-group>
+ </XDtJBEjbRel:ifLeftHasReadAheadEagerLoadGroup>
+ </read-ahead>
+ </XDtJBEjbRel:ifLeftHasReadAhead>
</ejb-relationship-role>
<ejb-relationship-role>
***************
*** 370,373 ****
--- 382,397 ----
</XDtJBEjbRel:ifNotLeftHasFK>
</XDtMethod:ifDoesntHaveMethodTag>
+
+ <XDtJBEjbRel:ifRightHasReadAhead>
+ <read-ahead>
+ <strategy><XDtJBEjbRel:rightReadAheadStrategy/></strategy>
+ <XDtJBEjbRel:ifRightHasReadAheadPageSize>
+ <page-size><XDtJBEjbRel:rightReadAheadPageSize/></page-size>
+ </XDtJBEjbRel:ifRightHasReadAheadPageSize>
+ <XDtJBEjbRel:ifRightHasReadAheadEagerLoadGroup>
+
+<eager-load-group><XDtJBEjbRel:rightReadAheadEagerLoadGroup/></eager-load-group>
+ </XDtJBEjbRel:ifRightHasReadAheadEagerLoadGroup>
+ </read-ahead>
+ </XDtJBEjbRel:ifRightHasReadAhead>
</ejb-relationship-role>
</ejb-relation>
***************
*** 414,419 ****
<XDtComment:comment>
TODO
- -- jboss:read-ahead is a good choice?
- -- <read-ahead/> support on <ejb-relationship-role/>
-- <load-groups/> through tags, not only merging
</XDtComment:comment>
--- 438,441 ----
-------------------------------------------------------
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