public class SpringMediator extends AbstractMediator implements ManagedLifecycle
log, trace, traceState
Constructor and Description |
---|
SpringMediator() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
This method should implement the destroying of the
implemented parts of the configuration.
|
org.springframework.context.ApplicationContext |
getAppContext() |
String |
getBeanName() |
String |
getConfigKey() |
void |
init(SynapseEnvironment se)
This method should implement the initialization of the
implemented parts of the configuration.
|
boolean |
mediate(MessageContext synCtx)
Invokes the mediator passing the current message for mediation.
|
void |
setAppContext(org.springframework.context.ApplicationContext appContext) |
void |
setBeanName(String beanName) |
void |
setConfigKey(String configKey) |
auditLog, auditWarn, configure, disableStatistics, enableStatistics, getAspectConfiguration, getDescription, getLog, getTraceState, getType, handleException, handleException, isContentAware, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, setDescription, setEffectiveTraceState, setTraceState, shouldTrace, traceOrDebug, traceOrDebugWarn
public boolean mediate(MessageContext synCtx)
Mediator
public void setBeanName(String beanName)
public String getBeanName()
public String getConfigKey()
public void setConfigKey(String configKey)
public org.springframework.context.ApplicationContext getAppContext()
public void setAppContext(org.springframework.context.ApplicationContext appContext)
public void init(SynapseEnvironment se)
ManagedLifecycle
init
in interface ManagedLifecycle
se
- SynapseEnvironment to be used for initializationpublic void destroy()
ManagedLifecycle
destroy
in interface ManagedLifecycle
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.