Update of /cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/home
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14039/modules/ejb/src/xdoclet/modules/ejb/home
Modified Files:
HomeTagsHandler.java
Log Message:
fixed view-type value for ejb.home-method has no effect (XDT-1153)
Index: HomeTagsHandler.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/home/HomeTagsHandler.java,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -r1.34 -r1.35
*** HomeTagsHandler.java 21 Jan 2005 00:25:11 -0000 1.34
--- HomeTagsHandler.java 2 Feb 2005 21:42:27 -0000 1.35
***************
*** 222,225 ****
--- 222,229 ----
homeMethodName.append(InterfaceTagsHandler.getComponentInterface(type, clazz));
}
+ else if (tagType.equals("ejb:home-method")) {
+ methodName = methodName.substring(4);
+
homeMethodName.append(method.getReturnType().getType().getQualifiedName());
+ }
homeMethodName.append(" ");
homeMethodName.append(methodName.substring(0, 1).toLowerCase());
***************
*** 716,719 ****
--- 720,728 ----
}
}
+ else if (tagType.equals("ejb:home-method")) {
+ if (!isHomeMethod(method)) {
+ continue;
+ }
+ }
String signature = getHomeDefinition(currentClass, method,
tagType, type);
***************
*** 799,802 ****
--- 808,821 ----
}
}
+ else if (tagType.equals("ejb:home-method")) {
+ if (!isHomeMethod(method)) {
+ continue;
+ }
+ signature = getHomeDefinition(getCurrentClass(), method,
tagType, type);
+
+ if (!already.add(signature)) {
+ continue;
+ }
+ }
if (signature != null) {
setCurrentSignature(signature);
***************
*** 829,833 ****
}
if (type.equalsIgnoreCase("remote")) {
! exc.append(",java.rmi.RemoteException");
}
setCurrentExceptions(exc.toString());
--- 848,855 ----
}
if (type.equalsIgnoreCase("remote")) {
! if (exc.length() > 0) {
! exc.append(",");
! }
! exc.append("java.rmi.RemoteException");
}
setCurrentExceptions(exc.toString());
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel