axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r395208 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/Phase.java
Date Wed, 19 Apr 2006 10:53:31 GMT
Author: deepal
Date: Wed Apr 19 03:53:28 2006
New Revision: 395208

URL: http://svn.apache.org/viewcvs?rev=395208&view=rev
Log:
- fixing module dis-engagement bug

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/Phase.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/Phase.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/Phase.java?rev=395208&r1=395207&r2=395208&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/Phase.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/Phase.java Wed Apr
19 03:53:28 2006
@@ -523,6 +523,16 @@
      */
     public void removeHandler(HandlerDescription handler) {
         if (handlers.remove(handler.getHandler())) {
+            PhaseRule rule = handler.getRules();
+            if(rule.isPhaseFirst()){
+                phasefirstset = false;
+            }
+            if(rule.isPhaseLast()){
+                phaselastset = false;
+            }
+            if(rule.isPhaseFirst()&& rule.isPhaseLast()){
+                isOneHanlder = false;
+            }
             log.info("removed handler " + handler.getName().getLocalPart()
                     + " from the phase " + phaseName);
         } else {



Mime
View raw message