|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.transport.AbstractConnector
org.mule.transport.AbstractJndiConnector
org.mule.transport.rmi.RmiConnector
public class RmiConnector
RmiConnector can bind or send to a given RMI port on a given host.
| Field Summary | |
|---|---|
static int |
DEFAULT_RMI_muleRegistry_PORT
|
protected long |
pollingFrequency
|
static String |
PROPERTY_RMI_SECURITY_POLICY
|
static String |
PROPERTY_RMI_SERVER_CODEBASE
|
static String |
PROPERTY_SERVER_CLASS_NAME
|
static String |
PROPERTY_SERVICE_METHOD_PARAM_TYPES
The property name that explicitly defines which argument types should be passed to a remote object method invocation. |
static String |
PROPERTY_SERVICE_METHOD_PARAMS_LIST
The property name for a list of objects used to call a Remote object via an RMI or EJB MessageReceiver |
static String |
RMI
|
| Fields inherited from class org.mule.transport.AbstractJndiConnector |
|---|
jndiContext, jndiInitialFactory, jndiProviderProperties, jndiProviderUrl, jndiUrlPkgPrefixes |
| Fields inherited from class org.mule.transport.AbstractConnector |
|---|
connected, connecting, connectionStrategy, createMultipleTransactedReceivers, DEFAULT_NUM_CONCURRENT_TX_RECEIVERS, dispatcherFactory, dispatchers, disposed, disposing, exceptionListener, initialised, logger, muleContext, name, numberOfConcurrentTransactedReceivers, receivers, requesterFactory, requesters, serviceDescriptor, serviceOverrides, sessionHandler, started, startOnConnect |
| Fields inherited from interface org.mule.api.transport.Connector |
|---|
INT_VALUE_NOT_SET |
| Fields inherited from interface org.mule.api.lifecycle.Initialisable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Startable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Stoppable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Disposable |
|---|
PHASE_NAME |
| Constructor Summary | |
|---|---|
RmiConnector()
|
|
| Method Summary | |
|---|---|
org.mule.api.transport.MessageReceiver |
createReceiver(org.mule.api.service.Service service,
org.mule.api.endpoint.InboundEndpoint endpoint)
|
protected void |
doConnect()
|
protected void |
doDisconnect()
|
protected void |
doDispose()
|
protected void |
doInitialise()
|
protected void |
doStart()
|
protected void |
doStop()
|
Method |
getMethodObject(Remote remoteObject,
org.mule.api.MuleEvent event)
Helper method for Dispatchers and Receives to extract the correct method from a Remote object |
long |
getPollingFrequency()
|
String |
getProtocol()
|
Remote |
getRemoteObject(org.mule.api.endpoint.ImmutableEndpoint endpoint)
|
protected Object |
getRemoteRef(org.mule.api.endpoint.ImmutableEndpoint endpoint)
|
SecurityManager |
getSecurityManager()
|
String |
getSecurityPolicy()
|
String |
getServerClassName()
Method getServerClassName |
String |
getServerCodebase()
Method getServerCodebase |
void |
setPollingFrequency(long pollingFrequency)
|
void |
setSecurityManager(SecurityManager securityManager)
|
void |
setSecurityPolicy(String path)
|
void |
setServerClassName(String serverClassName)
Method setServerClassName |
void |
setServerCodebase(String serverCodebase)
Method setServerCodebase |
protected Class[] |
stringsToClasses(Collection strings)
|
| Methods inherited from class org.mule.transport.AbstractJndiConnector |
|---|
getJndiContext, getJndiContext, getJndiInitialFactory, getJndiProviderProperties, getJndiProviderUrl, getJndiUrlPkgPrefixes, initJndiContext, setJndiContext, setJndiInitialFactory, setJndiProviderProperties, setJndiProviderUrl, setJndiUrlPkgPrefixes |
| Methods inherited from class org.mule.transport.AbstractConnector |
|---|
checkDisposed, connect, destroyReceiver, disconnect, dispatch, dispose, disposeDispatchers, disposeReceivers, disposeRequesters, disposeWorkManagers, exceptionThrown, fireNotification, getConnectEventId, getConnectionDescription, getConnectionStrategy, getDefaultInboundTransformers, getDefaultOutboundTransformers, getDefaultResponseTransformers, getDispatcherFactory, getDispatcherThreadingProfile, getDispatcherWorkManager, getExceptionListener, getMaxDispatchersActive, getMaxRequestersActive, getMessageAdapter, getMuleContext, getName, getNumberOfConcurrentTransactedReceivers, getOutputStream, getReceiver, getReceiverKey, getReceivers, getReceivers, getReceiverThreadingProfile, getReceiverWorkManager, getReplyToHandler, getRequesterFactory, getRequesterThreadingProfile, getRequesterWorkManager, getScheduler, getServiceDescriptor, getServiceOverrides, getSessionHandler, getSupportedProtocols, handleException, handleWorkException, initFromServiceDescriptor, initialise, initialiseFromUrl, initWorkManagers, isConnected, isCreateMultipleTransactedReceivers, isDisposed, isDisposing, isEnableMessageEvents, isRemoteSyncEnabled, isStarted, isSyncEnabled, lookupReceiver, registerListener, registerSupportedProtocol, registerSupportedProtocolWithoutPrefix, request, request, send, setConnectionStrategy, setCreateMultipleTransactedReceivers, setDispatcherFactory, setDispatcherThreadingProfile, setDynamicNotification, setExceptionListener, setMaxDispatchersActive, setMaxRequestersActive, setMuleContext, setName, setNumberOfConcurrentTransactedReceivers, setReceiverThreadingProfile, setRequesterFactory, setRequesterThreadingProfile, setServiceOverrides, setSessionHandler, setSupportedProtocols, setupDispatchReturn, setupRequestReturn, start, stop, supportsProtocol, toString, unregisterListener, unregisterSupportedProtocol, updateCachedNotificationHandler, workAccepted, workCompleted, workRejected, workStarted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String RMI
public static final int DEFAULT_RMI_muleRegistry_PORT
public static final String PROPERTY_RMI_SECURITY_POLICY
public static final String PROPERTY_RMI_SERVER_CODEBASE
public static final String PROPERTY_SERVER_CLASS_NAME
public static final String PROPERTY_SERVICE_METHOD_PARAM_TYPES
public static final String PROPERTY_SERVICE_METHOD_PARAMS_LIST
protected long pollingFrequency
| Constructor Detail |
|---|
public RmiConnector()
| Method Detail |
|---|
protected void doInitialise()
throws org.mule.api.lifecycle.InitialisationException
doInitialise in class org.mule.transport.AbstractConnectororg.mule.api.lifecycle.InitialisationExceptionprotected void doDispose()
doDispose in class org.mule.transport.AbstractConnector
protected void doConnect()
throws Exception
doConnect in class org.mule.transport.AbstractConnectorException
protected void doDisconnect()
throws Exception
doDisconnect in class org.mule.transport.AbstractConnectorException
protected void doStart()
throws org.mule.api.MuleException
doStart in class org.mule.transport.AbstractConnectororg.mule.api.MuleException
protected void doStop()
throws org.mule.api.MuleException
doStop in class org.mule.transport.AbstractConnectororg.mule.api.MuleExceptionpublic String getProtocol()
public String getSecurityPolicy()
public void setSecurityPolicy(String path)
path - The securityPolicy to set.public String getServerCodebase()
public void setServerCodebase(String serverCodebase)
serverCodebase - public String getServerClassName()
public void setServerClassName(String serverClassName)
serverClassName - public SecurityManager getSecurityManager()
public void setSecurityManager(SecurityManager securityManager)
public org.mule.api.transport.MessageReceiver createReceiver(org.mule.api.service.Service service,
org.mule.api.endpoint.InboundEndpoint endpoint)
throws Exception
createReceiver in class org.mule.transport.AbstractConnectorException
public Method getMethodObject(Remote remoteObject,
org.mule.api.MuleEvent event)
throws org.mule.api.MuleException,
NoSuchMethodException,
ClassNotFoundException
remoteObject - The remote object on which to invoke the methodevent - The current event being processed
org.mule.api.MuleException
NoSuchMethodException
ClassNotFoundException
protected Class[] stringsToClasses(Collection strings)
throws ClassNotFoundException
ClassNotFoundException
protected Object getRemoteRef(org.mule.api.endpoint.ImmutableEndpoint endpoint)
throws IOException,
NotBoundException,
NamingException,
org.mule.api.lifecycle.InitialisationException
IOException
NotBoundException
NamingException
org.mule.api.lifecycle.InitialisationException
public Remote getRemoteObject(org.mule.api.endpoint.ImmutableEndpoint endpoint)
throws IOException,
NotBoundException,
NamingException,
org.mule.api.lifecycle.InitialisationException
IOException
NotBoundException
NamingException
org.mule.api.lifecycle.InitialisationExceptionpublic long getPollingFrequency()
public void setPollingFrequency(long pollingFrequency)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||