public interface Module
Modifier and Type | Method and 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 well
|
void |
init(ConfigurationContext configContext,
AxisModule module) |
void |
shutdown(ConfigurationContext configurationContext) |
void init(ConfigurationContext configContext, AxisModule module) throws AxisFault
AxisFault
void engageNotify(AxisDescription axisDescription) throws AxisFault
axisDescription
- AxisFault
boolean canSupportAssertion(org.apache.neethi.Assertion assertion)
assertion
- the assertion that the module must decide whether it can support or not.void applyPolicy(org.apache.neethi.Policy policy, AxisDescription axisDescription) throws AxisFault
policy
- the policy that is applicable for the specified AxisDescriptionAxisFault
- if anything goes wrong.void shutdown(ConfigurationContext configurationContext) throws AxisFault
AxisFault
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.