Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21387/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces
Modified Files:
LocalHomeInterfacePlugin.java RemoteInterfacePlugin.vm
LocalHomeInterfacePlugin.vm RemoteInterfacePlugin.java
LocalInterfacePlugin.java RemoteHomeInterfacePlugin.vm
RemoteHomeInterfacePlugin.java LocalInterfacePlugin.vm
Log Message:
Index: LocalHomeInterfacePlugin.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/LocalHomeInterfacePlugin.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** LocalHomeInterfacePlugin.java 26 Aug 2005 17:52:30 -0000 1.1
--- LocalHomeInterfacePlugin.java 30 Aug 2005 00:34:33 -0000 1.2
***************
*** 6,9 ****
--- 6,11 ----
package org.xdoclet.plugin.ejb.interfaces;
+ import java.util.Collection;
+
import org.generama.QDoxCapableMetadataProvider;
import org.generama.VelocityTemplateEngine;
***************
*** 12,15 ****
--- 14,20 ----
import org.xdoclet.plugin.ejb.EjbConfig;
import org.xdoclet.plugin.ejb.EjbRuntime;
+ import org.xdoclet.plugin.ejb.EjbUtils;
+
+ import com.thoughtworks.qdox.model.JavaClass;
/**
***************
*** 44,46 ****
--- 49,55 ----
setMultioutput(true);
}
+
+ public Collection getInterfaceMethods(final JavaClass clazz) {
+ return ejbUtils.getInterfaceMethods(clazz,
EjbUtils.IFACE_METHOD_COMPONENT, "local");
+ }
}
\ No newline at end of file
Index: RemoteHomeInterfacePlugin.vm
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/RemoteHomeInterfacePlugin.vm,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RemoteHomeInterfacePlugin.vm 26 Aug 2005 17:52:30 -0000 1.1
--- RemoteHomeInterfacePlugin.vm 30 Aug 2005 00:34:33 -0000 1.2
***************
*** 6,16 ****
public interface ${plugin.getDestinationClassname($class)} extends
javax.ejb.EJBHome {
! #foreach( $method in $plugin.ejbUtils.getInterfaceMethods($class, "remote") )
$method.getDeclarationSignature(false)
! #if( $plugin.isEmpty($method.exceptions) )
throws java.rmi.RemoteException;
! #else
, java.rmi.RemoteException;
! #end
#end
}
--- 6,16 ----
public interface ${plugin.getDestinationClassname($class)} extends
javax.ejb.EJBHome {
! #foreach( $method in $plugin.getInterfaceMethods($class) )
$method.getDeclarationSignature(false)
! #if( $plugin.isEmpty($method.exceptions) )
throws java.rmi.RemoteException;
! #else
, java.rmi.RemoteException;
! #end
#end
}
Index: RemoteInterfacePlugin.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/RemoteInterfacePlugin.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** RemoteInterfacePlugin.java 26 Aug 2005 17:52:30 -0000 1.11
--- RemoteInterfacePlugin.java 30 Aug 2005 00:34:33 -0000 1.12
***************
*** 6,9 ****
--- 6,11 ----
package org.xdoclet.plugin.ejb.interfaces;
+ import java.util.Collection;
+
import org.generama.QDoxCapableMetadataProvider;
import org.generama.VelocityTemplateEngine;
***************
*** 11,14 ****
--- 13,19 ----
import org.xdoclet.plugin.ejb.EjbConfig;
import org.xdoclet.plugin.ejb.EjbRuntime;
+ import org.xdoclet.plugin.ejb.EjbUtils;
+
+ import com.thoughtworks.qdox.model.JavaClass;
/**
***************
*** 31,33 ****
--- 36,42 ----
setMultioutput(true);
}
+
+ public Collection getInterfaceMethods(final JavaClass clazz) {
+ return ejbUtils.getInterfaceMethods(clazz,
EjbUtils.IFACE_METHOD_COMPONENT, "remote");
+ }
}
\ No newline at end of file
Index: RemoteHomeInterfacePlugin.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/RemoteHomeInterfacePlugin.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RemoteHomeInterfacePlugin.java 26 Aug 2005 17:52:30 -0000 1.1
--- RemoteHomeInterfacePlugin.java 30 Aug 2005 00:34:33 -0000 1.2
***************
*** 6,9 ****
--- 6,11 ----
package org.xdoclet.plugin.ejb.interfaces;
+ import java.util.Collection;
+
import org.generama.QDoxCapableMetadataProvider;
import org.generama.VelocityTemplateEngine;
***************
*** 11,14 ****
--- 13,19 ----
import org.xdoclet.plugin.ejb.EjbConfig;
import org.xdoclet.plugin.ejb.EjbRuntime;
+ import org.xdoclet.plugin.ejb.EjbUtils;
+
+ import com.thoughtworks.qdox.model.JavaClass;
***************
*** 43,45 ****
--- 48,54 ----
setMultioutput(true);
}
+
+ public Collection getInterfaceMethods(final JavaClass clazz) {
+ return ejbUtils.getInterfaceMethods(clazz,
EjbUtils.IFACE_METHOD_COMPONENT, "remote");
+ }
}
Index: LocalHomeInterfacePlugin.vm
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/LocalHomeInterfacePlugin.vm,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** LocalHomeInterfacePlugin.vm 26 Aug 2005 17:52:30 -0000 1.1
--- LocalHomeInterfacePlugin.vm 30 Aug 2005 00:34:33 -0000 1.2
***************
*** 5,9 ****
public interface ${plugin.getDestinationClassname($class)} extends
javax.ejb.EJBLocalHome {
! #foreach( $method in $plugin.ejbUtils.getInterfaceMethods($class, "local") )
$method.getDeclarationSignature(false);
#end
--- 5,9 ----
public interface ${plugin.getDestinationClassname($class)} extends
javax.ejb.EJBLocalHome {
! #foreach( $method in $plugin.getInterfaceMethods($class) )
$method.getDeclarationSignature(false);
#end
Index: RemoteInterfacePlugin.vm
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/RemoteInterfacePlugin.vm,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RemoteInterfacePlugin.vm 30 Aug 2003 17:50:44 -0000 1.1
--- RemoteInterfacePlugin.vm 30 Aug 2005 00:34:33 -0000 1.2
***************
*** 6,16 ****
public interface ${plugin.getDestinationClassname($class)} extends
javax.ejb.EJBObject {
! #foreach( $method in $plugin.ejbUtils.getInterfaceMethods($class, "remote") )
$method.getDeclarationSignature(false)
! #if( $plugin.isEmpty($method.exceptions) )
throws java.rmi.RemoteException;
! #else
, java.rmi.RemoteException;
! #end
#end
}
--- 6,16 ----
public interface ${plugin.getDestinationClassname($class)} extends
javax.ejb.EJBObject {
! #foreach( $method in $plugin.getInterfaceMethods($class) )
$method.getDeclarationSignature(false)
! #if( $plugin.isEmpty($method.exceptions) )
throws java.rmi.RemoteException;
! #else
, java.rmi.RemoteException;
! #end
#end
}
Index: LocalInterfacePlugin.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/LocalInterfacePlugin.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** LocalInterfacePlugin.java 26 Aug 2005 17:52:30 -0000 1.12
--- LocalInterfacePlugin.java 30 Aug 2005 00:34:33 -0000 1.13
***************
*** 6,9 ****
--- 6,11 ----
package org.xdoclet.plugin.ejb.interfaces;
+ import java.util.Collection;
+
import org.generama.QDoxCapableMetadataProvider;
import org.generama.VelocityTemplateEngine;
***************
*** 11,14 ****
--- 13,19 ----
import org.xdoclet.plugin.ejb.EjbConfig;
import org.xdoclet.plugin.ejb.EjbRuntime;
+ import org.xdoclet.plugin.ejb.EjbUtils;
+
+ import com.thoughtworks.qdox.model.JavaClass;
/**
***************
*** 41,43 ****
--- 46,52 ----
setMultioutput(true);
}
+
+ public Collection getInterfaceMethods(final JavaClass clazz) {
+ return ejbUtils.getInterfaceMethods(clazz,
EjbUtils.IFACE_METHOD_COMPONENT, "local");
+ }
}
\ No newline at end of file
Index: LocalInterfacePlugin.vm
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/interfaces/LocalInterfacePlugin.vm,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** LocalInterfacePlugin.vm 10 Sep 2003 14:06:42 -0000 1.2
--- LocalInterfacePlugin.vm 30 Aug 2005 00:34:33 -0000 1.3
***************
*** 5,9 ****
public interface ${plugin.getDestinationClassname($class)} extends
javax.ejb.EJBLocalObject {
! #foreach( $method in $plugin.ejbUtils.getInterfaceMethods($class, "local") )
$method.getDeclarationSignature(false);
#end
--- 5,9 ----
public interface ${plugin.getDestinationClassname($class)} extends
javax.ejb.EJBLocalObject {
! #foreach( $method in $plugin.getInterfaceMethods($class) )
$method.getDeclarationSignature(false);
#end
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits