org.apache.synapse.mediators.base
Class SynapseMediator

java.lang.Object
  extended by org.apache.synapse.mediators.AbstractMediator
      extended by org.apache.synapse.mediators.AbstractListMediator
          extended by org.apache.synapse.mediators.base.SynapseMediator
All Implemented Interfaces:
AspectConfigurable, ManagedLifecycle, Mediator, ListMediator, SynapseArtifact

public class SynapseMediator
extends AbstractListMediator

The SynapseMediator is the "mainmediator" of the synapse engine. It is given each message on arrival at the Synapse engine. The Synapse configuration holds a reference to this special mediator instance. The SynapseMediator holds the list of mediators supplied within the element of an XML based Synapse configuration

See Also:
SynapseConfiguration.getMainSequence()

Field Summary
 
Fields inherited from class org.apache.synapse.mediators.AbstractListMediator
mediators
 
Fields inherited from class org.apache.synapse.mediators.AbstractMediator
log, trace, traceState
 
Constructor Summary
SynapseMediator()
           
 
Method Summary
 boolean mediate(MessageContext synCtx)
          Perform the mediation specified by the rule set
 
Methods inherited from class org.apache.synapse.mediators.AbstractListMediator
addAll, addChild, destroy, getChild, getList, init, removeChild, removeChild
 
Methods inherited from class org.apache.synapse.mediators.AbstractMediator
auditLog, auditWarn, configure, disableStatistics, enableStatistics, getAspectConfiguration, getDescription, getLog, getTraceState, getType, handleException, handleException, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, setDescription, setEffectiveTraceState, setTraceState, shouldTrace, traceOrDebug, traceOrDebugWarn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.synapse.Mediator
getTraceState, getType, setTraceState
 
Methods inherited from interface org.apache.synapse.SynapseArtifact
getDescription, setDescription
 

Constructor Detail

SynapseMediator

public SynapseMediator()
Method Detail

mediate

public boolean mediate(MessageContext synCtx)
Perform the mediation specified by the rule set

Specified by:
mediate in interface Mediator
Overrides:
mediate in class AbstractListMediator
Parameters:
synCtx - the message context
Returns:
as per standard mediate() semantics


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