geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r534742 - /geronimo/server/trunk/modules/geronimo-connector-builder/src/main/java/org/apache/geronimo/connector/deployment/ConnectorModuleBuilder.java
Date Thu, 03 May 2007 07:47:00 GMT
Author: djencks
Date: Thu May  3 00:46:59 2007
New Revision: 534742

URL: http://svn.apache.org/viewvc?view=rev&rev=534742
Log:
remove unused obsolete methods

Modified:
    geronimo/server/trunk/modules/geronimo-connector-builder/src/main/java/org/apache/geronimo/connector/deployment/ConnectorModuleBuilder.java

Modified: geronimo/server/trunk/modules/geronimo-connector-builder/src/main/java/org/apache/geronimo/connector/deployment/ConnectorModuleBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-connector-builder/src/main/java/org/apache/geronimo/connector/deployment/ConnectorModuleBuilder.java?view=diff&rev=534742&r1=534741&r2=534742
==============================================================================
--- geronimo/server/trunk/modules/geronimo-connector-builder/src/main/java/org/apache/geronimo/connector/deployment/ConnectorModuleBuilder.java
(original)
+++ geronimo/server/trunk/modules/geronimo-connector-builder/src/main/java/org/apache/geronimo/connector/deployment/ConnectorModuleBuilder.java
Thu May  3 00:46:59 2007
@@ -896,25 +896,6 @@
         }
     }
 
-    //ResourceRefBuilder implementation
-    public Reference createResourceRef(AbstractNameQuery containerId, Class iface, Configuration
configuration) throws DeploymentException {
-        try {
-            configuration.findGBean(containerId);
-        } catch (GBeanNotFoundException e) {
-            throw new UnresolvedReferenceException("Resource", false, containerId.toString(),
configuration.getId().toString());
-        }
-        return new ResourceReference(configuration.getId(), containerId, iface);
-    }
-
-    public Reference createAdminObjectRef(AbstractNameQuery containerId, Class iface, Configuration
configuration) throws DeploymentException {
-        try {
-            configuration.findGBean(containerId);
-        } catch (GBeanNotFoundException e) {
-            throw new DeploymentException("Can not resolve admin object ref " + containerId
+ " in configuration " + configuration.getId());
-        }
-        return new ResourceReference(configuration.getId(), containerId, iface);
-    }
-
     public GBeanData locateActivationSpecInfo(AbstractNameQuery resourceAdapterInstanceQuery,
String messageListenerInterface, Configuration configuration) throws DeploymentException {
         //First, locate the module gbean from the JCAResourceAdapter instance
         AbstractName instanceName;



Mime
View raw message