|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mule.providers.AbstractConnector
org.mule.providers.AbstractServiceEnabledConnector
org.mule.providers.AbstractJndiConnector
org.mule.providers.rmi.RmiConnector
RmiConnector can bind or send to a given RMI port on a given host.
| Field Summary | |
static int |
DEFAULT_RMI_REGISTRY_PORT
|
static int |
MSG_PARAM_SERVICE_METHOD_NOT_SET
|
static int |
MSG_PROPERTY_SERVICE_METHOD_PARAM_TYPES_NOT_SET
|
static int |
NO_RMI_SERVICECLASS_SET
|
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 int |
RMI_SERVICECLASS_INVOCATION_FAILED
|
| Fields inherited from class org.mule.providers.AbstractJndiConnector |
jndiContext, jndiInitialFactory, jndiProviderProperties, jndiProviderUrl, jndiUrlPkgPrefixes |
| Fields inherited from class org.mule.providers.AbstractServiceEnabledConnector |
serviceDescriptor, serviceOverrides |
| Fields inherited from class org.mule.providers.AbstractConnector |
connected, connecting, createDispatcherPerRequest, createMultipleTransactedReceivers, defaultInboundTransformer, defaultOutboundTransformer, defaultResponseTransformer, dispatcherFactory, dispatchers, disposed, disposing, exceptionListener, initialised, logger, name, receivers, serverSide, sessionHandler, started, startOnConnect |
| Fields inherited from interface org.mule.umo.provider.UMOConnector |
INT_VALUE_NOT_SET |
| Constructor Summary | |
RmiConnector()
|
|
| Method Summary | |
UMOMessageReceiver |
createReceiver(UMOComponent component,
UMOEndpoint endpoint)
|
void |
doInitialise()
|
Method |
getMethodObject(Remote remoteObject,
UMOEvent event)
Helper method for Dispatchers and Receives to extract the correct method from a Remote object |
long |
getPollingFrequency()
|
String |
getProtocol()
|
Remote |
getRemoteObject(UMOImmutableEndpoint endpoint)
|
protected Object |
getRemoteRef(UMOImmutableEndpoint 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 |
| Methods inherited from class org.mule.providers.AbstractJndiConnector |
getJndiContext, getJndiContext, getJndiInitialFactory, getJndiProviderProperties, getJndiProviderUrl, getJndiUrlPkgPrefixes, initJndiContext, setJndiContext, setJndiInitialFactory, setJndiProviderProperties, setJndiProviderUrl, setJndiUrlPkgPrefixes |
| Methods inherited from class org.mule.providers.AbstractServiceEnabledConnector |
getMessageAdapter, getServiceDescriptor, getServiceOverrides, getStreamMessageAdapter, initFromServiceDescriptor, initialiseFromUrl, setServiceOverrides |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int MSG_PARAM_SERVICE_METHOD_NOT_SET
public static final int MSG_PROPERTY_SERVICE_METHOD_PARAM_TYPES_NOT_SET
public static final int NO_RMI_SERVICECLASS_SET
public static final int RMI_SERVICECLASS_INVOCATION_FAILED
public static final int DEFAULT_RMI_REGISTRY_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 |
public String getProtocol()
getProtocol in interface UMOConnectorgetProtocol in class AbstractConnectorpublic 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 void doInitialise()
throws InitialisationException
doInitialise in class AbstractServiceEnabledConnectorInitialisationExceptionpublic SecurityManager getSecurityManager()
public void setSecurityManager(SecurityManager securityManager)
public UMOMessageReceiver createReceiver(UMOComponent component,
UMOEndpoint endpoint)
throws Exception
createReceiver in class AbstractServiceEnabledConnectorException
public Method getMethodObject(Remote remoteObject,
UMOEvent event)
throws UMOException,
NoSuchMethodException,
ClassNotFoundException
remoteObject - The remote object on which to invoke the methodevent - The current event being processed
UMOException
NoSuchMethodException
ClassNotFoundException
protected Object getRemoteRef(UMOImmutableEndpoint endpoint)
throws IOException,
NotBoundException,
NamingException,
InitialisationException
IOException
NotBoundException
NamingException
InitialisationException
public Remote getRemoteObject(UMOImmutableEndpoint endpoint)
throws IOException,
NotBoundException,
NamingException,
InitialisationException
IOException
NotBoundException
NamingException
InitialisationExceptionpublic long getPollingFrequency()
public void setPollingFrequency(long pollingFrequency)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||