org.mule.providers.rmi
Class RmiMessageReceiver
java.lang.Object
org.mule.providers.AbstractMessageReceiver
org.mule.providers.PollingMessageReceiver
org.mule.providers.rmi.RmiMessageReceiver
- All Implemented Interfaces:
- Disposable, Lifecycle, Startable, Stoppable, UMOConnectable, UMOMessageReceiver
- Direct Known Subclasses:
- EjbMessageReceiver
- public class RmiMessageReceiver
- extends PollingMessageReceiver
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, doDispose, doStop, getComponent, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, getEndpointURI, getListener, getWorkManager, handleException, handleUnacceptedFilter, isConnected, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, setComponent, setConnector, setEndpoint, setExceptionDetails, setListener, setWorkManager, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
doConnect
public void doConnect()
throws Exception
- Specified by:
doConnect in class AbstractMessageReceiver
- Throws:
Exception
doDisconnect
public void doDisconnect()
- Specified by:
doDisconnect in class AbstractMessageReceiver
poll
public void poll()
- Specified by:
poll in class PollingMessageReceiver
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-2006 MuleSource Inc.. All Rights Reserved.