Package org.apache.axis2.jaxws.module
Class JAXWSModule
- java.lang.Object
-
- org.apache.axis2.jaxws.module.JAXWSModule
-
-
Constructor Summary
Constructors Constructor Description JAXWSModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyPolicy(org.apache.neethi.Policy policy, AxisDescription axisDescription)
Evaluates specified policy for the specified AxisDescription.boolean
canSupportAssertion(org.apache.neethi.Assertion assertion)
Evaluate whether it can support the specified assertion and returns true if the assertion can be supported.void
engageNotify(AxisDescription axisDescription)
When engaging this module to some service or operation , module will be notify by calling this method there module author can validate , add policy and do any thing that he want , and he can refuse the engage as wellvoid
init(ConfigurationContext configurationContext, AxisModule module)
void
shutdown(ConfigurationContext configurationContext)
-
-
-
Method Detail
-
engageNotify
public void engageNotify(AxisDescription axisDescription) throws AxisFault
Description copied from interface:Module
When engaging this module to some service or operation , module will be notify by calling this method there module author can validate , add policy and do any thing that he want , and he can refuse the engage as well- Specified by:
engageNotify
in interfaceModule
- Throws:
AxisFault
-
init
public void init(ConfigurationContext configurationContext, AxisModule module) throws AxisFault
-
shutdown
public void shutdown(ConfigurationContext configurationContext) throws AxisFault
-
applyPolicy
public void applyPolicy(org.apache.neethi.Policy policy, AxisDescription axisDescription) throws AxisFault
Description copied from interface:Module
Evaluates specified policy for the specified AxisDescription. It computes the configuration that is appropriate to support the policy and stores it the appropriate description.- Specified by:
applyPolicy
in interfaceModule
- Parameters:
policy
- the policy that is applicable for the specified AxisDescription- Throws:
AxisFault
- if anything goes wrong.
-
canSupportAssertion
public boolean canSupportAssertion(org.apache.neethi.Assertion assertion)
Description copied from interface:Module
Evaluate whether it can support the specified assertion and returns true if the assertion can be supported.- Specified by:
canSupportAssertion
in interfaceModule
- Parameters:
assertion
- the assertion that the module must decide whether it can support or not.- Returns:
- true if the specified assertion can be supported by the module
-
-