geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r161187 - in geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment: EJBReferenceBuilder.java UnavailableEJBReferenceBuilder.java
Date Wed, 13 Apr 2005 15:21:28 GMT
Author: djencks
Date: Wed Apr 13 08:21:26 2005
New Revision: 161187

URL: http://svn.apache.org/viewcvs?view=rev&rev=161187
Log:
GERONIMO-628 createHandleDelegateReference should return null when not implemented

Modified:
    geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/EJBReferenceBuilder.java
    geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/UnavailableEJBReferenceBuilder.java

Modified: geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/EJBReferenceBuilder.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/EJBReferenceBuilder.java?view=diff&r1=161186&r2=161187
==============================================================================
--- geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/EJBReferenceBuilder.java
(original)
+++ geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/EJBReferenceBuilder.java
Wed Apr 13 08:21:26 2005
@@ -34,6 +34,6 @@
 
     Reference createCORBAReference(URI corbaURL, String objectName, ObjectName containerName,
String home) throws DeploymentException;
 
-    Object createHandleDelegateReference() throws DeploymentException;
+    Object createHandleDelegateReference();
 
 }

Modified: geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/UnavailableEJBReferenceBuilder.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/UnavailableEJBReferenceBuilder.java?view=diff&r1=161186&r2=161187
==============================================================================
--- geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/UnavailableEJBReferenceBuilder.java
(original)
+++ geronimo/trunk/modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/UnavailableEJBReferenceBuilder.java
Wed Apr 13 08:21:26 2005
@@ -28,7 +28,7 @@
  * @version $Rev:  $ $Date:  $
  */
 public class UnavailableEJBReferenceBuilder implements EJBReferenceBuilder {
-    
+
     public Reference createEJBLocalReference(String objectName, boolean isSession, String
localHome, String local) throws DeploymentException {
         throw new DeploymentException("EJB references are unavailable in this configuration");
     }
@@ -41,8 +41,8 @@
         throw new DeploymentException("EJB references are unavailable in this configuration");
     }
 
-    public Object createHandleDelegateReference() throws DeploymentException {
-        throw new DeploymentException("EJB references are unavailable in this configuration");
+    public Object createHandleDelegateReference() {
+        return null;
     }
 
     public static final GBeanInfo GBEAN_INFO;



Mime
View raw message