You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by sa...@apache.org on 2012/04/11 10:42:26 UTC
svn commit: r1324637 -
/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
Author: sagara
Date: Wed Apr 11 08:42:25 2012
New Revision: 1324637
URL: http://svn.apache.org/viewvc?rev=1324637&view=rev
Log:
* Removed deprecated isEngaged(QName qname) method.
* Removed unwanted imports.
Modified:
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
Modified: axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java?rev=1324637&r1=1324636&r2=1324637&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java (original)
+++ axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java Wed Apr 11 08:42:25 2012
@@ -31,7 +31,6 @@ import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
-import java.util.Collections;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CopyOnWriteArraySet;
@@ -513,8 +512,7 @@ public class AxisConfiguration extends A
AxisService axisService = services.next();
isClientSide = axisService.isClientSide()? true : false;
- //removes the endpoints to this service
- String serviceName = axisService.getName();
+ //removes the endpoints to this service
removeServiceReferences(axisService.getName());
}
@@ -1081,21 +1079,7 @@ public class AxisConfiguration extends A
public HashMap<String, TransportOutDescription> getTransportsOut() {
return transportsOut;
}
-
- /**
- * Find out whether a given module is engaged.
- *
- * This method needs to remain for a few Axis2 releases to support
- * legacy apps still using it. It will be disappearing in 1.6.
- *
- * @param qname QName of the module
- * @deprecated Use {@link #isEngaged(String)}
- * @return true if a module matching the passed QName is engaged globally
- */
- public boolean isEngaged(QName qname) {
- return isEngaged(qname.getLocalPart());
- }
-
+
public boolean isEngaged(String moduleId) {
AxisModule module = getModule(moduleId);
if (module == null) {