Class StatisticsModule
java.lang.Object
org.wso2.carbon.statistics.module.StatisticsModule
- All Implemented Interfaces:
org.apache.axis2.modules.Module
Module for handling statistics
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyPolicy(org.apache.neethi.Policy policy, org.apache.axis2.description.AxisDescription axisDescription) Evaluates specified policy for the specified AxisDescription.booleancanSupportAssertion(org.apache.neethi.Assertion assertion) Evalute whether it can support the specified assertion and returns true if the assertion can be supported.voidengageNotify(org.apache.axis2.description.AxisDescription axisDescription) voidinit(org.apache.axis2.context.ConfigurationContext configContext, org.apache.axis2.description.AxisModule module) voidshutdown(org.apache.axis2.context.ConfigurationContext configurationContext)
-
Constructor Details
-
StatisticsModule
public StatisticsModule()
-
-
Method Details
-
init
public void init(org.apache.axis2.context.ConfigurationContext configContext, org.apache.axis2.description.AxisModule module) throws org.apache.axis2.AxisFault - Specified by:
initin 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:
engageNotifyin 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:
canSupportAssertionin 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:
applyPolicyin 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:
shutdownin interfaceorg.apache.axis2.modules.Module- Throws:
org.apache.axis2.AxisFault
-