public class OpenSpacesConnector
extends org.mule.transport.AbstractConnector
implements org.springframework.context.ApplicationContextAware
GigaSpace
instance in order to send the code
using it.
Note, the connector must be defined within mule configuration in order for it to be injected with the application context.
Modifier and Type | Field and Description |
---|---|
static String |
OS_EVENT_CONTAINER |
createMultipleTransactedReceivers, DEFAULT_NUM_CONCURRENT_TX_RECEIVERS, dispatcherFactory, dispatcherPoolFactory, dispatchers, initialStateStopped, lifecycleManager, logger, muleContext, muleMessageFactory, name, numberOfConcurrentTransactedReceivers, PROPERTY_POLLING_FREQUENCY, receivers, requesterFactory, requesters, serviceDescriptor, serviceOverrides, sessionHandler, startOnConnect
Constructor and Description |
---|
OpenSpacesConnector(org.mule.api.MuleContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
doConnect() |
protected void |
doDisconnect() |
protected void |
doDispose() |
protected void |
doInitialise() |
protected void |
doStart() |
protected void |
doStop() |
org.springframework.context.ApplicationContext |
getApplicationContext() |
String |
getProtocol() |
boolean |
isResponseEnabled() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
borrowDispatcher, clearDispatchers, clearRequesters, configureDispatcherPool, connect, createDefaultRedeliveryPolicy, createDispatcherMessageProcessor, createMuleMessageFactory, createOperationResource, createReceiver, createScheduler, destroyReceiver, disconnect, dispose, disposeReceivers, disposeWorkManagers, doUnregisterListener, fireNotification, getCanonicalURI, getConnectEventId, getConnectionDescription, getDefaultExchangePattern, getDefaultInboundTransformers, getDefaultOutboundTransformers, getDefaultResponseTransformers, getDispatcherFactory, getDispatcherPoolFactory, getDispatcherThreadingProfile, getDispatcherWorkManager, getInboundExchangePatterns, getLifecycleState, getMaxDispatchersActive, getMaxRequestersActive, getMaxTotalDispatchers, getMuleContext, getMuleMessageFactory, getName, getNumberOfConcurrentTransactedReceivers, getOperationResourceFactory, getOutboundExchangePatterns, getOutputStream, getReceiver, getReceiverKey, getReceivers, getReceivers, getReceiverThreadingProfile, getReceiverWorkManager, getReplyToHandler, getRequesterFactory, getRequesterThreadingProfile, getRequesterWorkManager, getRetryPolicyTemplate, getScheduler, getServiceDescriptor, getServiceOverrides, getSessionHandler, getSupportedProtocols, getTransactionalResource, handleWorkException, initFromServiceDescriptor, initialise, initialiseFromUrl, initWorkManagers, isConnected, isConnecting, isCreateMultipleTransactedReceivers, isDisposed, isEnableMessageEvents, isInitialised, isInitialStateStopped, isStarted, isStarting, isStopped, isStopping, isValidateConnections, lookupReceiver, registerListener, registerSupportedMetaProtocol, registerSupportedProtocol, registerSupportedProtocolWithoutPrefix, request, request, returnDispatcher, setConnected, setConnecting, setCreateMultipleTransactedReceivers, setDispatcherFactory, setDispatcherPoolFactory, setDispatcherPoolMaxWait, setDispatcherPoolWhenExhaustedAction, setDispatcherThreadingProfile, setDynamicNotification, setInitialStateStopped, setMaxDispatchersActive, setMaxRequestersActive, setName, setNumberOfConcurrentTransactedReceivers, setReceiverThreadingProfile, setRequesterFactory, setRequesterPoolMaxWait, setRequesterPoolWhenExhaustedAction, setRequesterThreadingProfile, setRetryPolicyTemplate, setServiceOverrides, setSessionHandler, setSupportedProtocols, setupDispatchReturn, setupRequestReturn, setValidateConnections, shutdownScheduler, start, startAfterConnect, stop, supportsProtocol, toString, unregisterListener, unregisterSupportedProtocol, updateCachedNotificationHandler, validateConnection, workAccepted, workCompleted, workRejected, workStarted
public static final String OS_EVENT_CONTAINER
public String getProtocol()
getProtocol
in interface org.mule.api.transport.Connector
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
protected void doInitialise() throws org.mule.api.lifecycle.InitialisationException
doInitialise
in class org.mule.transport.AbstractConnector
org.mule.api.lifecycle.InitialisationException
protected void doDispose()
doDispose
in class org.mule.transport.AbstractConnector
protected void doStart() throws org.mule.api.MuleException
doStart
in class org.mule.transport.AbstractConnector
org.mule.api.MuleException
protected void doStop() throws org.mule.api.MuleException
doStop
in class org.mule.transport.AbstractConnector
org.mule.api.MuleException
protected void doConnect() throws Exception
doConnect
in class org.mule.transport.AbstractConnector
Exception
protected void doDisconnect() throws Exception
doDisconnect
in class org.mule.transport.AbstractConnector
Exception
public org.springframework.context.ApplicationContext getApplicationContext()
public boolean isResponseEnabled()
isResponseEnabled
in interface org.mule.api.transport.Connector
isResponseEnabled
in class org.mule.transport.AbstractConnector
Copyright © GigaSpaces.