djencks 2005/02/19 15:22:58
Modified: modules/openejb-builder/src/test/org/openejb/deployment/entity
BasicCMPEntityContainerTest.java
Log:
Clean up NameFactory interface and use. Fix cmp problem introduced with last
commit
Revision Changes Path
1.8 +2 -2
openejb/modules/openejb-builder/src/test/org/openejb/deployment/entity/BasicCMPEntityContainerTest.java
Index: BasicCMPEntityContainerTest.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/openejb-builder/src/test/org/openejb/deployment/entity/BasicCMPEntityContainerTest.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- BasicCMPEntityContainerTest.java 19 Feb 2005 18:24:43 -0000 1.7
+++ BasicCMPEntityContainerTest.java 19 Feb 2005 20:22:58 -0000 1.8
@@ -462,7 +462,7 @@
containerIndex.setReferencePatterns("EJBContainers",
Collections.singleton(CONTAINER_NAME));
start(CI_NAME, containerIndex);
- ObjectName connectionProxyFactoryObjectName =
NameFactory.getResourceComponentName(null, null, null, "jcamodule", "testcf",
NameFactory.JCA_CONNECTION_FACTORY, j2eeContext);
+ ObjectName connectionProxyFactoryObjectName =
NameFactory.getComponentName(null, null, null, NameFactory.JCA_RESOURCE,
"jcamodule", "testcf", NameFactory.JCA_CONNECTION_FACTORY, j2eeContext);
GBeanData connectionProxyFactoryGBean = new
GBeanData(connectionProxyFactoryObjectName,
MockConnectionProxyFactory.GBEAN_INFO);
kernel.loadGBean(connectionProxyFactoryGBean,
this.getClass().getClassLoader());
kernel.startGBean(connectionProxyFactoryObjectName);