dain 2004/04/15 22:34:09
Modified: modules/core/src/test/org/openejb/slsb
BasicStatelessContainerTest.java
Log:
Changed container id to a String
Simplified requirements to create an EJBProxyFactory
EJBProxyFactory is now constructed in the GenericEJBContainer constructor
Change ProxyRefAddress to store the class names instead of a proxy info
object; this allows the construction of an ejb-ref without knowing the
container type
Merged stateless and stateful object base classes into a single class,
which simplifies proxy construction
Revision Changes Path
1.4 +2 -3
openejb/modules/core/src/test/org/openejb/slsb/BasicStatelessContainerTest.java
Index: BasicStatelessContainerTest.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/core/src/test/org/openejb/slsb/BasicStatelessContainerTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- BasicStatelessContainerTest.java 10 Apr 2004 06:51:39 -0000 1.3
+++ BasicStatelessContainerTest.java 16 Apr 2004 02:34:09 -0000 1.4
@@ -49,7 +49,6 @@
import java.util.Collections;
import java.util.HashSet;
-import java.util.Set;
import javax.management.ObjectName;
import
org.apache.geronimo.connector.outbound.connectiontracking.ConnectionTrackingCoordinator;
@@ -144,7 +143,7 @@
StatelessContainerBuilder builder = new StatelessContainerBuilder();
builder.setClassLoader(this.getClass().getClassLoader());
- builder.setContainerId(CONTAINER_NAME);
+ builder.setContainerId(CONTAINER_NAME.getCanonicalName());
builder.setEJBName("MockEJB");
builder.setBeanClassName(MockEJB.class.getName());
builder.setHomeInterfaceName(MockHome.class.getName());