Class PhaseHolder

java.lang.Object
org.apache.axis2.phaseresolver.PhaseHolder

public class PhaseHolder extends Object
This class hold all the phases found in the services.xml and server.xml
  • Constructor Details

    • PhaseHolder

      public PhaseHolder()
    • PhaseHolder

      public PhaseHolder(List phases)
  • Method Details

    • 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 befores or afters 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 - HandlerDescription to deploy
      Throws:
      PhaseException - if there's a problem