org.apache.synapse.aspects
Class AspectConfigurationDetectionStrategy

java.lang.Object
  extended by org.apache.synapse.aspects.AspectConfigurationDetectionStrategy

public class AspectConfigurationDetectionStrategy
extends Object

Take an AspectConfiguration based on some strategy - Currently only consider statistics


Constructor Summary
AspectConfigurationDetectionStrategy()
           
 
Method Summary
static AspectConfiguration getAspectConfiguration(MessageContext synCtx)
          Factory method to create the AspectConfiguration when there is no a defined main sequence and only there is a set of mediators.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AspectConfigurationDetectionStrategy

public AspectConfigurationDetectionStrategy()
Method Detail

getAspectConfiguration

public static AspectConfiguration getAspectConfiguration(MessageContext synCtx)
Factory method to create the AspectConfiguration when there is no a defined main sequence and only there is a set of mediators. This is useful when collecting stats for messages going through the main sequence //TODO cache

Parameters:
synCtx - Message Context
Returns:
an AspectConfiguration instance


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