[jboss-cvs] JBossAS SVN: r79381 - in projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy: jndiregistrar and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Oct 13 04:12:48 EDT 2008


Author: ALRubinger
Date: 2008-10-13 04:12:48 -0400 (Mon, 13 Oct 2008)
New Revision: 79381

Removed:
   projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/spi/
Modified:
   projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/jndiregistrar/JndiSessionRegistrarBase.java
Log:
[EJBTHREE-1130] Removed fixes from here, now reflected as issue in JBMETA-117

Modified: projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/jndiregistrar/JndiSessionRegistrarBase.java
===================================================================
--- projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/jndiregistrar/JndiSessionRegistrarBase.java	2008-10-13 06:03:26 UTC (rev 79380)
+++ projects/ejb3/trunk/proxy/src/main/java/org/jboss/ejb3/proxy/jndiregistrar/JndiSessionRegistrarBase.java	2008-10-13 08:12:48 UTC (rev 79381)
@@ -35,7 +35,6 @@
 
 import org.jboss.aop.Advisor;
 import org.jboss.aop.Dispatcher;
-import org.jboss.ejb3.annotation.RemoteBindings;
 import org.jboss.ejb3.common.registrar.spi.DuplicateBindException;
 import org.jboss.ejb3.common.registrar.spi.Ejb3RegistrarLocator;
 import org.jboss.ejb3.common.registrar.spi.NotBoundException;
@@ -44,7 +43,6 @@
 import org.jboss.ejb3.proxy.factory.session.SessionProxyFactory;
 import org.jboss.ejb3.proxy.objectfactory.ProxyFactoryReferenceAddressTypes;
 import org.jboss.ejb3.proxy.remoting.ProxyRemotingUtils;
-import org.jboss.ejb3.proxy.spi.common.ErrorCodes;
 import org.jboss.logging.Logger;
 import org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData;
 import org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData;
@@ -329,35 +327,6 @@
          {
 
             /*
-             * EJBTHREE-1130
-             * 
-             * Ensure we've got remote business interfaces, otherwise
-             * throw an error to the bean provider
-             */
-
-            // Get the remote business interface
-            String remoteBusinessInterface = smd.getRemote();
-
-            // Check that it's provided
-            if (remoteBusinessInterface == null || remoteBusinessInterface.trim().length() > 0)
-            {
-               // We've got an invalid @RemoteBindings definition with no proper
-               // remote business interface; throw an error
-
-               /*
-                * Maintainer's note: The Unit Test will check for the String "EJBTHREE-1130"
-                * in this error message
-                */
-               throw new RuntimeException("Encountered EJB " + smd.getName() + " with @"
-                     + RemoteBindings.class.getName() + " defined but with no remote business interface.  ["
-                     + ErrorCodes.ERROR_MESSAGE_CODE_EJBTHREE1130 + "]");
-            }
-
-            /*
-             * EJBTHREE-1130 OK, continue along
-             */
-
-            /*
              * Bind all explicitly-declared remote bindings
              */
 




More information about the jboss-cvs-commits mailing list