|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SynapseEnvironment
The SynapseEnvironment allows access into the the host SOAP engine. It allows the sending of messages, class loader access etc.
| Method Summary | |
|---|---|
MessageContext |
createMessageContext()
Creates a new Synapse MessageContext instance. |
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. |
| Method Detail |
|---|
boolean injectMessage(MessageContext smc)
smc - - Synapse MessageContext to be injected
void injectAsync(MessageContext smc,
SequenceMediator seq)
smc - - Synapse message context to be injectedseq - - Sequence to be used for mediation
void send(EndpointDefinition endpoint,
MessageContext smc)
endpoint - - Endpoint to be used for sendingsmc - - Synapse MessageContext to be sentMessageContext createMessageContext()
MessageContext instance.
OverflowBlob createOverflowBlob()
TemporaryData instance for the temp storage requirements
StatisticsCollector 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||