User: vharcq
Date: 02/04/02 03:29:42
Modified: core/resources/xdoclet/ejb home-local.j home.j
Log:
Custome finders are also handled by FinderTagsHandler from now.
They also works for CMP beans.
No ejb:finder is needed above the definition of the custom finder, the tag handler
will do the work to transform the bean finder definition into a home definition with
proper attributes and exceptions
Revision Changes Path
1.35 +2 -15 xdoclet/core/resources/xdoclet/ejb/home-local.j
Index: home-local.j
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/resources/xdoclet/ejb/home-local.j,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -w -r1.34 -r1.35
--- home-local.j 2 Apr 2002 10:12:33 -0000 1.34
+++ home-local.j 2 Apr 2002 11:29:42 -0000 1.35
@@ -35,22 +35,9 @@
throws javax.ejb.FinderException;
</XDtEjbCmp:ifEntityIsCmp>
<XDtEjbFinder:forAllFinders type="local">
- public <XDtEjbFinder:currentSignature/> throws javax.ejb.FinderException;
+ public <XDtEjbFinder:currentSignature/>
+ throws <XDtEjbFinder:currentExceptions/>;
</XDtEjbFinder:forAllFinders>
-
- <XDtEjbBmp:ifEntityIsBmp>
- <XDtMethod:forAllMethods>
- <XDtEjbHome:ifIsFinderMethod superclasses="false">
-<XDtMethod:methodComment indent="3"/>
- <XDtType:ifIsOfType value="return-type" extent="concrete-type"
type="java.util.Enumeration,java.util.Collection">
- public <XDtMethod:methodType/> <XDtMethod:methodName paramName="substring"
value="3"/>(<XDtParameter:parameterList/>) throws javax.ejb.FinderException;
- </XDtType:ifIsOfType>
- <XDtType:ifIsNotOfType value="return-type" extent="concrete-type"
type="java.util.Enumeration,java.util.Collection">
- public <XDtEjbIntf:componentInterface type="local"/> <XDtMethod:methodName
paramName="substring" value="3"/>(<XDtParameter:parameterList/>) throws
javax.ejb.FinderException;
- </XDtType:ifIsNotOfType>
- </XDtEjbHome:ifIsFinderMethod>
- </XDtMethod:forAllMethods>
- </XDtEjbBmp:ifEntityIsBmp>
<XDtMethod:forAllMethods superclasses="false">
<XDtEjbHome:ifIsHomeMethod>
1.39 +3 -17 xdoclet/core/resources/xdoclet/ejb/home.j
Index: home.j
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/resources/xdoclet/ejb/home.j,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -w -r1.38 -r1.39
--- home.j 2 Apr 2002 10:12:33 -0000 1.38
+++ home.j 2 Apr 2002 11:29:42 -0000 1.39
@@ -37,24 +37,10 @@
throws java.rmi.RemoteException,javax.ejb.FinderException;
</XDtEjbCmp:ifEntityIsCmp>
<XDtEjbFinder:forAllFinders type="remote">
- public <XDtEjbFinder:currentSignature/> throws
java.rmi.RemoteException,javax.ejb.FinderException;
- </XDtEjbFinder:forAllFinders>
-
- <XDtEjbBmp:ifEntityIsBmp>
- <XDtMethod:forAllMethods>
- <XDtEjbHome:ifIsFinderMethod superclasses="false">
<XDtMethod:methodComment indent="3"/>
- <XDtType:ifIsOfType value="return-type" extent="concrete-type"
type="java.util.Enumeration,java.util.Collection">
- public <XDtMethod:methodType/> <XDtMethod:methodName paramName="substring"
value="3"/>(<XDtParameter:parameterList/>)
- <XDtMethod:exceptionList
append="java.rmi.RemoteException,javax.ejb.FinderException"
skip="javax.ejb.EJBException"/>;
- </XDtType:ifIsOfType>
- <XDtType:ifIsNotOfType value="return-type" extent="concrete-type"
type="java.util.Enumeration,java.util.Collection">
- public <XDtEjbIntf:componentInterface type="remote"/> <XDtMethod:methodName
paramName="substring" value="3"/>(<XDtParameter:parameterList/>)
- <XDtMethod:exceptionList
append="java.rmi.RemoteException,javax.ejb.FinderException"
skip="javax.ejb.EJBException"/>;
- </XDtType:ifIsNotOfType>
- </XDtEjbHome:ifIsFinderMethod>
- </XDtMethod:forAllMethods>
- </XDtEjbBmp:ifEntityIsBmp>
+ public <XDtEjbFinder:currentSignature/>
+ throws <XDtEjbFinder:currentExceptions/>;
+ </XDtEjbFinder:forAllFinders>
<XDtMethod:forAllMethods superclasses="false">
<XDtEjbHome:ifIsHomeMethod>
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel