Class StatisticsModule
- java.lang.Object
-
- org.wso2.carbon.statistics.module.StatisticsModule
-
- All Implemented Interfaces:
org.apache.axis2.modules.Module
public class StatisticsModule extends Object implements org.apache.axis2.modules.Module
Module for handling statistics
-
-
Constructor Summary
Constructors Constructor Description StatisticsModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyPolicy(org.apache.neethi.Policy policy, org.apache.axis2.description.AxisDescription axisDescription)
Evaluates specified policy for the specified AxisDescription.boolean
canSupportAssertion(org.apache.neethi.Assertion assertion)
Evalute whether it can support the specified assertion and returns true if the assertion can be supported.void
engageNotify(org.apache.axis2.description.AxisDescription axisDescription)
void
init(org.apache.axis2.context.ConfigurationContext configContext, org.apache.axis2.description.AxisModule module)
void
shutdown(org.apache.axis2.context.ConfigurationContext configurationContext)
-
-
-
Method Detail
-
init
public void init(org.apache.axis2.context.ConfigurationContext configContext, org.apache.axis2.description.AxisModule module) throws org.apache.axis2.AxisFault
- Specified by:
init
in interfaceorg.apache.axis2.modules.Module
- Throws:
org.apache.axis2.AxisFault
-
engageNotify
public void engageNotify(org.apache.axis2.description.AxisDescription axisDescription) throws org.apache.axis2.AxisFault
- Specified by:
engageNotify
in interfaceorg.apache.axis2.modules.Module
- Throws:
org.apache.axis2.AxisFault
-
canSupportAssertion
public boolean canSupportAssertion(org.apache.neethi.Assertion assertion)
Evalute whether it can support the specified assertion and returns true if the assertion can be supported.- Specified by:
canSupportAssertion
in interfaceorg.apache.axis2.modules.Module
- 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
-
applyPolicy
public void applyPolicy(org.apache.neethi.Policy policy, org.apache.axis2.description.AxisDescription axisDescription) throws org.apache.axis2.AxisFault
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 interfaceorg.apache.axis2.modules.Module
- Parameters:
policy
- the policy that is applicable for the specified AxisDescription- Throws:
org.apache.axis2.AxisFault
- if anything goes wrong.
-
shutdown
public void shutdown(org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFault
- Specified by:
shutdown
in interfaceorg.apache.axis2.modules.Module
- Throws:
org.apache.axis2.AxisFault
-
-