org.apache.synapse.aspects
Class AspectConfiguration

java.lang.Object
  extended by org.apache.synapse.aspects.AspectConfiguration
All Implemented Interfaces:
StatisticsConfigurable, Identifiable

public class AspectConfiguration
extends Object
implements StatisticsConfigurable, Identifiable

Aspect configuration Currently contains only statistics configuration related things


Constructor Summary
AspectConfiguration(String id)
           
 
Method Summary
 void disableStatistics()
          To disable statistics
 void enableStatistics()
          To enable statistics
 String getId()
          Get the identifier of an abstraction
 boolean isStatisticsEnable()
          Whether statistics has been enabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AspectConfiguration

public AspectConfiguration(String id)
Method Detail

isStatisticsEnable

public boolean isStatisticsEnable()
Description copied from interface: StatisticsConfigurable
Whether statistics has been enabled

Specified by:
isStatisticsEnable in interface StatisticsConfigurable
Returns:
True if enable , o.w , false

disableStatistics

public void disableStatistics()
Description copied from interface: StatisticsConfigurable
To disable statistics

Specified by:
disableStatistics in interface StatisticsConfigurable

enableStatistics

public void enableStatistics()
Description copied from interface: StatisticsConfigurable
To enable statistics

Specified by:
enableStatistics in interface StatisticsConfigurable

getId

public String getId()
Description copied from interface: Identifiable
Get the identifier of an abstraction

Specified by:
getId in interface Identifiable
Returns:
String Representation of ID


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.