Update of /cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/entity/resources
In directory
sc8-pr-cvs1:/tmp/cvs-serv31999/modules/ejb/src/xdoclet/modules/ejb/entity/resources
Modified Files:
entity-body.xdt
Log Message:
XDT-48 - Automatic include of find/create methods in DAO should be suppressible
Applied patch from Ian Duggan, tested against samples and visual confirmation.
Index: entity-body.xdt
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/entity/resources/entity-body.xdt,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** entity-body.xdt 30 Oct 2002 22:33:04 -0000 1.13
--- entity-body.xdt 14 Dec 2002 01:18:17 -0000 1.14
***************
*** 97,100 ****
--- 97,101 ----
<XDtEjbHome:ifIsCreateMethod>
<XDtEjbDao:ifUsingDao>
+ <XDtClass:ifClassTagValueEquals tagName="ejb.dao" paramName="create-methods"
+superclasses="false" value="true" default="true">
public <XDtMethod:methodType/>
<XDtMethod:methodName/>(<XDtParameter:parameterList/>) <XDtMethod:exceptionList
append="javax.ejb.CreateException"/>
{
***************
*** 108,113 ****
</XDtComment:comment>
}
!
</XDtEjbDao:ifUsingDao>
<XDtEjbHome:ifDoesntHavePostCreateMethod>
/**
--- 109,116 ----
</XDtComment:comment>
}
!
! </XDtClass:ifClassTagValueEquals>
</XDtEjbDao:ifUsingDao>
+
<XDtEjbHome:ifDoesntHavePostCreateMethod>
/**
***************
*** 124,127 ****
--- 127,131 ----
</XDtMethod:forAllMethods>
<XDtEjbDao:ifUsingDao>
+ <XDtClass:ifClassTagValueEquals tagName="ejb.dao" paramName="finder-methods"
+superclasses="false" value="true" default="true">
<XDtMethod:forAllMethods superclasses="false" sort="false">
<XDtEjbHome:ifIsFinderMethod>
***************
*** 137,140 ****
--- 141,145 ----
</XDtEjbHome:ifIsFinderMethod>
</XDtMethod:forAllMethods>
+ </XDtClass:ifClassTagValueEquals>
</XDtEjbDao:ifUsingDao>
public void ejbLoad() <XDtMethod:exceptionList method="ejbLoad"/>
-------------------------------------------------------
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