org.apache.axis2.addressing
Class AddressingModule

java.lang.Object
  extended by org.apache.axis2.addressing.AddressingModule
All Implemented Interfaces:
Module

public class AddressingModule
extends java.lang.Object
implements Module


Constructor Summary
AddressingModule()
           
 
Method Summary
 void applyPolicy(org.apache.neethi.Policy arg0, AxisDescription arg1)
          Evaluates specified policy for the specified AxisDescription.
 boolean canSupportAssertion(org.apache.neethi.Assertion arg0)
          Evalute whether it can support the specified assertion and returns true if the assertion can be supported.
 void engageNotify(AxisDescription arg0)
          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 refuce the engage as well
 void init(ConfigurationContext arg0, AxisModule arg1)
           
 void shutdown(ConfigurationContext arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressingModule

public AddressingModule()
Method Detail

init

public void init(ConfigurationContext arg0,
                 AxisModule arg1)
          throws AxisFault
Specified by:
init in interface Module
Throws:
AxisFault

engageNotify

public void engageNotify(AxisDescription arg0)
                  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 refuce the engage as well

Specified by:
engageNotify in interface Module
Throws:
AxisFault

canSupportAssertion

public boolean canSupportAssertion(org.apache.neethi.Assertion arg0)
Description copied from interface: Module
Evalute whether it can support the specified assertion and returns true if the assertion can be supported.

Specified by:
canSupportAssertion in interface Module
Parameters:
arg0 - 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

applyPolicy

public void applyPolicy(org.apache.neethi.Policy arg0,
                        AxisDescription arg1)
                 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 interface Module
Parameters:
arg0 - the policy that is applicable for the specified AxisDescription
Throws:
AxisFault - if anything goes wrong.

shutdown

public void shutdown(ConfigurationContext arg0)
              throws AxisFault
Specified by:
shutdown in interface Module
Throws:
AxisFault


Copyright © 2007 Apache Web Services Project. All Rights Reserved.