org.apache.axis2.phaseresolver
Class PhaseHolder

java.lang.Object
  extended byorg.apache.axis2.phaseresolver.PhaseHolder

public class PhaseHolder
extends java.lang.Object

This class hold all the phases found in the services.xml and server.xml


Constructor Summary
PhaseHolder()
           
PhaseHolder(java.util.ArrayList phases)
           
 
Method Summary
 void addHandler(HandlerDescription handlerDesc)
          If the phase name is equal to "*" that implies , the handler should be added to each and every phase in the system for a given flow , and at that point if the phase rule contains any before or aftere then they will be ignored.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhaseHolder

public PhaseHolder()

PhaseHolder

public PhaseHolder(java.util.ArrayList phases)
Method Detail

addHandler

public void addHandler(HandlerDescription handlerDesc)
                throws PhaseException
If the phase name is equal to "*" that implies , the handler should be added to each and every phase in the system for a given flow , and at that point if the phase rule contains any before or aftere then they will be ignored. Phase first and phase last are supported , but make sure you dont break any of the phase rules.

If the phase name is not above then the hadler will be added to the phase specified by the phase rule , and no rules will be ignored.

Parameters:
handlerDesc -
Throws:
PhaseException


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.