geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1053628 - /geronimo/server/trunk/plugins/axis/geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/AxisServiceRefBuilder.java
Date Wed, 29 Dec 2010 12:43:14 GMT
Author: genspring
Date: Wed Dec 29 12:43:14 2010
New Revision: 1053628

URL: http://svn.apache.org/viewvc?rev=1053628&view=rev
Log:
Normalizing a service ref name twice will definitely throw a IllegalArgumentException.

Modified:
    geronimo/server/trunk/plugins/axis/geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/AxisServiceRefBuilder.java

Modified: geronimo/server/trunk/plugins/axis/geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/AxisServiceRefBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/axis/geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/AxisServiceRefBuilder.java?rev=1053628&r1=1053627&r2=1053628&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/axis/geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/AxisServiceRefBuilder.java
(original)
+++ geronimo/server/trunk/plugins/axis/geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/AxisServiceRefBuilder.java
Wed Dec 29 12:43:14 2010
@@ -108,7 +108,7 @@ public class AxisServiceRefBuilder exten
     @Override
     public void buildNaming(ServiceRef serviceRef, GerServiceRefType gerServiceRefType, Module
module, Map<EARContext.Key, Object> sharedContext) throws DeploymentException {
         //TODO name needs to be normalized or get normalized name from jee's map.
-        String name = normalize(serviceRef.getServiceRefName());
+        String name = serviceRef.getKey();
         Bundle bundle = module.getEarContext().getDeploymentBundle();
 
 //            Map credentialsNameMap = (Map) serviceRefCredentialsNameMap.get(name);



Mime
View raw message