| java.lang.Object org.apache.axis2.description.AxisDescription
All known Subclasses: org.apache.axis2.description.AxisEndpoint, org.apache.axis2.description.AxisBindingOperation, org.apache.axis2.description.AxisBindingMessage, org.apache.axis2.description.AxisServiceGroup, org.apache.axis2.description.AxisOperation, org.apache.axis2.description.AxisService, org.apache.axis2.description.AxisMessage, org.apache.axis2.engine.AxisConfiguration, org.apache.axis2.description.AxisBinding,
engagedModules | protected Map engagedModules(Code) | | |
AxisDescription | public AxisDescription()(Code) | | |
applyPolicy | public void applyPolicy(Policy policy) throws AxisFault(Code) | | This method sets the policy as the default of this AxisDescription
instance. Further more this method does the followings.
(1) Engage whatever modules necessary to execute new the effective policy
of this AxisDescription instance. (2) Disengage whatever modules that are
not necessary to execute the new effective policy of this AxisDescription
instance. (3) Check whether each module can execute the new effective
policy of this AxisDescription instance. (4) If not throw an AxisFault to
notify the user. (5) Else notify each module about the new effective
policy.
Parameters: policy - the new policy of this AxisDescription instance. The effectivepolicy is the merge of this argument with effective policy ofparent of this AxisDescription. throws: AxisFault - if any module is unable to execute the effective policy ofthis AxisDescription instance successfully or no module toexecute some portion (one or more PrimtiveAssertions ) ofthat effective policy. |
applyPolicy | public void applyPolicy() throws AxisFault(Code) | | Applies the policies on the Description Hierarchy recursively.
throws: AxisFault - an error occurred applying the policy |
deserializeParameters | public void deserializeParameters(OMElement parameterElement) throws AxisFault(Code) | | |
engageModule | public void engageModule(AxisModule axisModule) throws AxisFault(Code) | | Engage a Module at this level
Parameters: axisModule - the Module to engage throws: AxisFault - if there's a problem engaging |
engageModule | public void engageModule(AxisModule axisModule, AxisDescription source) throws AxisFault(Code) | | Engage a Module at this level, keeping track of which level the engage was originally
called from. This is meant for internal use only.
Parameters: axisModule - module to engage Parameters: source - the AxisDescription which originally called engageModule() throws: AxisFault - if there's a problem engaging |
getParameter | public Parameter getParameter(String name)(Code) | | If the parameter found in the current decription then the paremeter will be
writable else it will be read only
Parameters: name - |
isEngaged | public boolean isEngaged(String moduleName)(Code) | | Check if a given module is engaged at this level.
Parameters: moduleName - module to investigate. true if engaged, false if not.TODO: Handle versions? isEngaged("addressing") should be true even for versioned modulename... |
isParameterLocked | public boolean isParameterLocked(String parameterName)(Code) | | |
isParameterTrue | public boolean isParameterTrue(String name)(Code) | | |
setDocumentation | public void setDocumentation(String documentation)(Code) | | |
|
|