Package org.apache.axis2.phaseresolver
Class PhaseHolder
java.lang.Object
org.apache.axis2.phaseresolver.PhaseHolder
This class hold all the phases found in the services.xml and server.xml
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHandler(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 befores or afters then they will be ignored.
-
Constructor Details
-
PhaseHolder
public PhaseHolder() -
PhaseHolder
-
-
Method Details
-
addHandler
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
-