public interface SynapseEnvironment
Modifier and Type | Method and Description |
---|---|
MessageContext |
createMessageContext()
Creates a new Synapse
MessageContext instance. |
org.apache.axiom.util.blob.OverflowBlob |
createOverflowBlob()
Creates a new
TemporaryData instance for the temp storage requirements |
ExecutorService |
getExecutorService()
This is used by anyone who needs access to a SynapseThreadPool.
|
ServerContextInformation |
getServerContextInformation()
Get the information about the synapse environment.
|
StatisticsCollector |
getStatisticsCollector()
This method returns the
StatisticsCollector responsible for
collecting stats for this synapse instance. |
SynapseConfiguration |
getSynapseConfiguration()
Retrieves the
SynapseConfiguration from the environment |
SynapseTaskManager |
getTaskManager()
Retrieve the
SynapseTaskManager from the
environment . |
Map<QName,SynapseXpathFunctionContextProvider> |
getXpathFunctionExtensions()
Get all Xpath Extension objects for Function contexts
|
Map<QName,SynapseXpathVariableResolver> |
getXpathVariableExtensions()
Get all Xpath Extension objects for Variable contexts
|
void |
injectAsync(MessageContext smc,
SequenceMediator seq)
This method injects a new message into the Synapse engine for the mediation
by the specified sequence.
|
boolean |
injectMessage(MessageContext smc)
This method injects a new message into the Synapse engine.
|
boolean |
isInitialized()
Has the Synapse Environment properly initialized?
|
void |
send(EndpointDefinition endpoint,
MessageContext smc)
This method allows a message to be sent through the underlying SOAP engine.
|
void |
setInitialized(boolean state)
Set the environment as ready for message processing
|
void |
setStatisticsCollector(StatisticsCollector statisticsCollector)
Deprecated.
|
boolean injectMessage(MessageContext smc)
smc
- - Synapse MessageContext to be injectedvoid injectAsync(MessageContext smc, SequenceMediator seq)
smc
- - Synapse message context to be injectedseq
- - Sequence to be used for mediationvoid send(EndpointDefinition endpoint, MessageContext smc)
endpoint
- - Endpoint to be used for sendingsmc
- - Synapse MessageContext to be sentMessageContext createMessageContext()
MessageContext
instance.org.apache.axiom.util.blob.OverflowBlob createOverflowBlob()
TemporaryData
instance for the temp storage requirementsStatisticsCollector getStatisticsCollector()
StatisticsCollector
responsible for
collecting stats for this synapse instance.StatisticsCollector
@Deprecated void setStatisticsCollector(StatisticsCollector statisticsCollector)
statisticsCollector
- - StatisticsCollector to be setExecutorService getExecutorService()
boolean isInitialized()
void setInitialized(boolean state)
state
- true means ready for processingSynapseConfiguration getSynapseConfiguration()
SynapseConfiguration
from the environment
SynapseTaskManager getTaskManager()
SynapseTaskManager
from the
environment
.ServerContextInformation getServerContextInformation()
ServerContextInformation
of this synapse environmentMap<QName,SynapseXpathFunctionContextProvider> getXpathFunctionExtensions()
Map<QName,SynapseXpathVariableResolver> getXpathVariableExtensions()
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.