[jboss-cvs] JBossAS SVN: r100275 - projects/ejb3/components/nointerface/trunk/impl/src/main/java/org/jboss/ejb3/nointerface/impl/jndi.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Feb 2 13:52:35 EST 2010
Author: jaikiran
Date: 2010-02-02 13:52:34 -0500 (Tue, 02 Feb 2010)
New Revision: 100275
Modified:
projects/ejb3/components/nointerface/trunk/impl/src/main/java/org/jboss/ejb3/nointerface/impl/jndi/StatefulNoInterfaceJNDIBinder.java
Log:
EJBTHREE-2002 Fixed the StatefulNoInterfaceJNDIBinder to use the org.jboss.util.naming.Util to bind to jndi. This Util will internally create any missing subcontexts
Modified: projects/ejb3/components/nointerface/trunk/impl/src/main/java/org/jboss/ejb3/nointerface/impl/jndi/StatefulNoInterfaceJNDIBinder.java
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/src/main/java/org/jboss/ejb3/nointerface/impl/jndi/StatefulNoInterfaceJNDIBinder.java 2010-02-02 18:50:34 UTC (rev 100274)
+++ projects/ejb3/components/nointerface/trunk/impl/src/main/java/org/jboss/ejb3/nointerface/impl/jndi/StatefulNoInterfaceJNDIBinder.java 2010-02-02 18:52:34 UTC (rev 100275)
@@ -34,6 +34,7 @@
import org.jboss.logging.Logger;
import org.jboss.metadata.ejb.jboss.JBossSessionBean31MetaData;
import org.jboss.util.naming.NonSerializableFactory;
+import org.jboss.util.naming.Util;
/**
* StatefulNoInterfaceJNDIBinder
@@ -113,7 +114,7 @@
// log the jndi binding information
this.prettyPrintJNDIBindingInfo(beanMetaData, noInterfaceJndiName);
// bind to jndi
- jndiCtx.bind(noInterfaceJndiName, reference);
+ Util.bind(jndiCtx, noInterfaceJndiName, reference);
return noInterfaceJndiName;
More information about the jboss-cvs-commits
mailing list