Package org.apache.axis2.description
Class HandlerDescription
java.lang.Object
org.apache.axis2.description.HandlerDescription
- All Implemented Interfaces:
ParameterInclude
Represents the deployment information about the handler
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor HandlerDescription.HandlerDescription(String name) Constructor HandlerDescription. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParameter(Parameter param) Add a ParametervoiddeserializeParameters(org.apache.axiom.om.OMElement parameterElement) Method getClassName.getName()getParameter(String name) Get a named ParameterGets all the parameters in a given description.getRules()Method getRules.booleanisParameterLocked(String parameterName) Checks whether the parameter is locked at any level.voidremoveParameter(Parameter param) voidsetClassName(String className) Method setClassName.voidsetHandler(Handler handler) Explicitly set the Handler objectvoidSet the namevoidsetParent(ParameterInclude parent) voidSet the deployment rules for this HandlerDescription
-
Constructor Details
-
HandlerDescription
public HandlerDescription()Constructor HandlerDescription. -
HandlerDescription
Constructor HandlerDescription.- Parameters:
name- name of handler
-
-
Method Details
-
addParameter
Add a Parameter- Specified by:
addParameterin interfaceParameterInclude- Parameters:
param- the Parameter to associate with this HandlerDescription- Throws:
AxisFault
-
removeParameter
- Specified by:
removeParameterin interfaceParameterInclude- Throws:
AxisFault
-
deserializeParameters
- Specified by:
deserializeParametersin interfaceParameterInclude- Throws:
AxisFault
-
getClassName
Method getClassName.- Returns:
- Returns String.
-
getHandler
- Returns:
- Returns Handler.
-
getName
- Returns:
- Returns QName.
-
getParameter
Get a named Parameter- Specified by:
getParameterin interfaceParameterInclude- Parameters:
name- name of Parameter to search- Returns:
- a Parameter, which may come from us or from some parent up the tree, or null.
-
getParameters
Description copied from interface:ParameterIncludeGets all the parameters in a given description.- Specified by:
getParametersin interfaceParameterInclude- Returns:
- Returns ArrayList.
-
getParent
-
getRules
Method getRules.- Returns:
- Returns PhaseRule.
-
isParameterLocked
Description copied from interface:ParameterIncludeChecks whether the parameter is locked at any level.- Specified by:
isParameterLockedin interfaceParameterInclude
-
setClassName
Method setClassName.- Parameters:
className- the class name of the Handler class
-
setHandler
Explicitly set the Handler object- Parameters:
handler- a Handler instance, which will be deployed wherever this HandlerDescription is
-
setName
Set the name- Parameters:
name- the desired name
-
setParent
-
setRules
Set the deployment rules for this HandlerDescription- Parameters:
rules- a PhaseRule object
-