public class SequenceMediator extends AbstractListMediator implements Nameable
mediators
log, 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, removeChild
auditLog, auditWarn, configure, disableStatistics, enableStatistics, getAspectConfiguration, getDescription, getLog, getTraceState, getType, handleException, handleException, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, setDescription, setEffectiveTraceState, setTraceState, shouldTrace, traceOrDebug, traceOrDebugWarn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTraceState, getType, setTraceState
getDescription, setDescription
public boolean mediate(MessageContext synCtx)
mediate
in interface Mediator
mediate
in class AbstractListMediator
synCtx
- the synapse messagepublic void init(SynapseEnvironment se)
init
in interface ManagedLifecycle
init
in class AbstractListMediator
se
- - enviorenment to be initializedpublic void destroy()
AbstractListMediator
destroy
in interface ManagedLifecycle
destroy
in class AbstractListMediator
public 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 Mediator
isContentAware
in class AbstractListMediator
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.