org.mule.providers.rmi
Class RmiMessageReceiver
java.lang.Object
org.mule.providers.AbstractMessageReceiver
org.mule.providers.AbstractPollingMessageReceiver
org.mule.providers.rmi.RmiMessageReceiver
- All Implemented Interfaces:
- Disposable, Lifecycle, Startable, Stoppable, UMOConnectable, UMOMessageReceiver
- Direct Known Subclasses:
- EjbMessageReceiver
public class RmiMessageReceiver
- extends AbstractPollingMessageReceiver
Will repeatedly call a method on a Remote object. If the method takes parameters A
List of objects can be specified on the endpoint called
methodArgumentsList
, If this property is ommitted it is assumed
that the method takes no parameters
Methods inherited from class org.mule.providers.AbstractMessageReceiver |
applyResponseTransformer, connect, disconnect, dispose, getComponent, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, getEndpointURI, getListener, getReceiverKey, getWorkManager, handleException, handleUnacceptedFilter, isConnected, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, setComponent, setConnector, setEndpoint, setExceptionDetails, setListener, setReceiverKey, setWorkManager, start, stop, toString |
connector
protected RmiConnector connector
remoteObject
protected Remote remoteObject
invokeMethod
protected Method invokeMethod
methodArguments
protected Object[] methodArguments
RmiMessageReceiver
public RmiMessageReceiver(UMOConnector connector,
UMOComponent component,
UMOEndpoint endpoint,
long frequency)
throws InitialisationException
- Throws:
InitialisationException
doDispose
protected void doDispose()
- Specified by:
doDispose
in class AbstractMessageReceiver
doConnect
protected void doConnect()
throws Exception
- Specified by:
doConnect
in class AbstractMessageReceiver
- Throws:
Exception
doDisconnect
protected void doDisconnect()
- Specified by:
doDisconnect
in class AbstractMessageReceiver
poll
public void poll()
- Specified by:
poll
in class AbstractPollingMessageReceiver
getMethodArguments
protected Object[] getMethodArguments()
- Returns the method arguments to use when invoking the method on the Remote
object. This method can be overloaded to enable dynamic method arguments
- Returns:
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.