axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sedukhin, Igor" <Igor.Seduk...@ca.com>
Subject [FIX]: SimpleDeploymentManager.removeDeployedItem and undeployHan dler
Date Fri, 14 Dec 2001 02:23:55 GMT
A simple fix to make sure methods do what their name says. Also there is no need to have two
methods do exactly the same thing.
Two files were changed.

Please review the fix and possibly commit. Thanks.

===================================================================
RCS file: /home/cvspublic/xml-axis/java/src/org/apache/axis/AxisEngine.java,v
retrieving revision 1.60
diff -r1.60 AxisEngine.java
405c405
<         myRegistry.removeDeployedItem(new QName("", key));
---
>         myRegistry.undeployHandler(new QName("", key));

===================================================================
RCS file: /home/cvspublic/xml-axis/java/src/org/apache/axis/deployment/SimpleDeploymentManager.java,v
retrieving revision 1.22
diff -r1.22 SimpleDeploymentManager.java
274c274,280
<         handlers.remove(qname);
---
>         // remove item from all of our containers
>         if(handlers.containsKey(qname)) handlers.remove(qname);
>         else
>         if(services.containsKey(qname)) services.remove(qname);
>         else
>         if(transports.containsKey(qname)) transports.remove(qname);
>         // otherwise not in our registry



-- Igor Sedukhin .. (Igor.Sedukhin@ca.com)
-- (631) 342-4325 .. 1 CA Plaza, Islandia, NY 11788



Mime
View raw message