org.wso2.carbon.statistics.module
Class StatisticsModule

java.lang.Object
  extended by 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
StatisticsModule()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticsModule

public StatisticsModule()
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 interface org.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 interface org.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 interface org.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 interface org.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 interface org.apache.axis2.modules.Module
Throws:
org.apache.axis2.AxisFault


Copyright © 2015 WSO2. All rights reserved.