User: mnf999
Date: 02/02/06 12:59:27
Modified: src/main/org/jboss/proxy/ejb EntityProxy.java HomeProxy.java
StatefulSessionProxy.java
StatelessSessionProxy.java
Log:
The invocation branching is now based on int and a case switch (SPEEEEEEEED)
Revision Changes Path
1.4 +2 -2 jboss/src/main/org/jboss/proxy/ejb/EntityProxy.java
Index: EntityProxy.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/proxy/ejb/EntityProxy.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- EntityProxy.java 2002/02/06 18:27:51 1.3
+++ EntityProxy.java 2002/02/06 20:59:27 1.4
@@ -29,7 +29,7 @@
/**
* An EJB entity bean proxy class.
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
-* @version $Revision: 1.3 $
+* @version $Revision: 1.4 $
*
* <p><b>2001/11/19: marcf</b>
* <ol>
@@ -140,7 +140,7 @@
Invocation invocation = new Invocation(new HashMap());
invocation.setContainer(new Integer(objectName));
- invocation.setType("remote");
+ invocation.setType(Invocation.REMOTE);
invocation.setId(id);
invocation.setMethod(m);
invocation.setArguments(args);
1.6 +3 -3 jboss/src/main/org/jboss/proxy/ejb/HomeProxy.java
Index: HomeProxy.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/proxy/ejb/HomeProxy.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- HomeProxy.java 2002/02/06 18:27:51 1.5
+++ HomeProxy.java 2002/02/06 20:59:27 1.6
@@ -38,7 +38,7 @@
* The client-side proxy for an EJB Home object.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
-* @version $Revision: 1.5 $
+* @version $Revision: 1.6 $
*
* <p><b>2001/11/21: marcf</b>
* <ol>
@@ -181,7 +181,7 @@
invocation.setContainer(new Integer(objectName));
invocation.setId(id);
- invocation.setType("remote");
+ invocation.setType(Invocation.REMOTE);
invocation.setMethod(REMOVE_OBJECT);
invocation.setArguments(EMPTY_ARGS);
invocation.setTransaction(getTransaction());
@@ -201,7 +201,7 @@
Invocation invocation = new Invocation(new HashMap());
invocation.setContainer(new Integer(objectName));
- invocation.setType("home");
+ invocation.setType(Invocation.HOME);
invocation.setMethod(m);
invocation.setArguments(arguments);
invocation.setTransaction(getTransaction());
1.5 +2 -2 jboss/src/main/org/jboss/proxy/ejb/StatefulSessionProxy.java
Index: StatefulSessionProxy.java
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/proxy/ejb/StatefulSessionProxy.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- StatefulSessionProxy.java 2002/02/06 18:27:51 1.4
+++ StatefulSessionProxy.java 2002/02/06 20:59:27 1.5
@@ -30,7 +30,7 @@
* An EJB stateful session bean proxy class.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
-* @version $Revision: 1.4 $
+* @version $Revision: 1.5 $
*
* <p><b>2001/11/23: marcf</b>
* <ol>
@@ -139,7 +139,7 @@
{
Invocation invocation = new Invocation(new HashMap());
invocation.setContainer(new Integer(objectName));
- invocation.setType("remote");
+ invocation.setType(Invocation.REMOTE);
invocation.setId(id);
invocation.setMethod(m);
invocation.setArguments(args);
1.4 +2 -2 jboss/src/main/org/jboss/proxy/ejb/StatelessSessionProxy.java
Index: StatelessSessionProxy.java
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/proxy/ejb/StatelessSessionProxy.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- StatelessSessionProxy.java 2002/02/06 18:27:51 1.3
+++ StatelessSessionProxy.java 2002/02/06 20:59:27 1.4
@@ -18,7 +18,7 @@
* An EJB stateless session bean proxy class.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
-* @version $Revision: 1.3 $
+* @version $Revision: 1.4 $
*
* <p><b>2001/11/23: marcf</b>
* <ol>
@@ -118,7 +118,7 @@
Invocation invocation = new Invocation(new HashMap());
invocation.setContainer(new Integer(objectName));
- invocation.setType("remote");
+ invocation.setType(Invocation.REMOTE);
invocation.setMethod(m);
invocation.setArguments(args);
invocation.setTransaction(getTransaction());
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development