public class SequenceMediator extends AbstractListMediator implements Nameable
mediatorslog, trace, traceState| Constructor and Description |
|---|
SequenceMediator() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy child mediators recursively
|
String |
getAuditId() |
String |
getErrorHandler() |
String |
getFileName() |
Value |
getKey()
To get the key which is used to pick the sequence definition from the local registry
|
String |
getName()
To get the name of the sequence
|
String |
getRegistryKey()
Return the registry key used to load this sequence dynamically
|
void |
init(SynapseEnvironment se)
This method will ensure that each and every sequence wil only be initialized atmost once
|
boolean |
isContentAware() |
boolean |
isDynamic()
Is this a dynamic sequence?
|
boolean |
isInitialized() |
boolean |
mediate(MessageContext synCtx)
If this mediator refers to another named Sequence, execute that.
|
void |
setDynamic(boolean dynamic)
Mark this as a dynamic sequence
|
void |
setErrorHandler(String errorHandler) |
void |
setFileName(String fileName) |
void |
setKey(Value key)
To set the local registry key in order to pick the sequence definition
|
void |
setName(String name)
setting the name of the sequence
|
void |
setRegistryKey(String registryKey)
To get the registry key used to load this sequence dynamically
|
addAll, addChild, getChild, getList, removeChild, removeChildauditLog, auditWarn, configure, disableStatistics, enableStatistics, getAspectConfiguration, getDescription, getLog, getTraceState, getType, handleException, handleException, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, setDescription, setEffectiveTraceState, setTraceState, shouldTrace, traceOrDebug, traceOrDebugWarnclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTraceState, getType, setTraceStategetDescription, setDescriptionpublic boolean mediate(MessageContext synCtx)
mediate in interface Mediatormediate in class AbstractListMediatorsynCtx - the synapse messagepublic void init(SynapseEnvironment se)
init in interface ManagedLifecycleinit in class AbstractListMediatorse - - enviorenment to be initializedpublic void destroy()
AbstractListMediatordestroy in interface ManagedLifecycledestroy in class AbstractListMediatorpublic String getName()
public void setName(String name)
public Value getKey()
public void setKey(Value key)
key - the local registry keypublic String getErrorHandler()
public void setErrorHandler(String errorHandler)
errorHandler - to used handle error will appear during the
mediation through this sequencepublic boolean isDynamic()
public void setDynamic(boolean dynamic)
dynamic - true if this is a dynamic sequencepublic String getRegistryKey()
public void setRegistryKey(String registryKey)
registryKey - returns the registry key which point to this sequencepublic String getAuditId()
public String getFileName()
public void setFileName(String fileName)
public boolean isInitialized()
public boolean isContentAware()
isContentAware in interface MediatorisContentAware in class AbstractListMediatorCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.