dain 2005/01/26 18:27:59
Modified: modules/core/src/java/org/openejb/client/naming/java
javaURLContextFactory.java
Log:
ENC is now passed around as a Map instead of a jndi Context. This allows the
ejb container to modify it and inject the kernel and class loader into
references.
Changed Stateless and MDB containers to use system chain for ejbCreate and
ejbRemove invocations.
Added test to verify that ejbRemove is propertly called from the cache code.
Revision Changes Path
1.3 +2 -2
openejb/modules/core/src/java/org/openejb/client/naming/java/javaURLContextFactory.java
Index: javaURLContextFactory.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/core/src/java/org/openejb/client/naming/java/javaURLContextFactory.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- javaURLContextFactory.java 29 Sep 2004 03:39:44 -0000 1.2
+++ javaURLContextFactory.java 26 Jan 2005 23:27:59 -0000 1.3
@@ -57,7 +57,7 @@
public class javaURLContextFactory implements ObjectFactory,
InitialContextFactory {
public Context getInitialContext(Hashtable environment) throws
NamingException {
- return new RootContext(environment);
+ return new RootContext();
}