org.mule.transport.rmi
Class RmiCallbackMessageReceiver
java.lang.Object
org.mule.transport.AbstractMessageReceiver
org.mule.transport.rmi.RmiCallbackMessageReceiver
- All Implemented Interfaces:
- Disposable, Initialisable, Lifecycle, Startable, Stoppable, Connectable, MessageReceiver
public class RmiCallbackMessageReceiver
- extends AbstractMessageReceiver
TODO
Methods inherited from class org.mule.transport.AbstractMessageReceiver |
connect, disconnect, dispose, doInitialise, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, getEndpointURI, getListener, getReceiverKey, getService, getWorkManager, handleException, handleUnacceptedFilter, initialise, isConnected, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, setConnector, setEndpoint, setExceptionDetails, setListener, setReceiverKey, setService, setWorkManager, start, stop, toString |
PROPERTY_SERVICE_CLASS_NAME
public static final String PROPERTY_SERVICE_CLASS_NAME
- The property name for the service object implementing the callback interface
RmiAble This should be set on the inbound endpoint
- See Also:
- Constant Field Values
connector
protected RmiConnector connector
remoteObject
protected RmiAble remoteObject
RmiCallbackMessageReceiver
public RmiCallbackMessageReceiver(Connector connector,
Service service,
InboundEndpoint endpoint)
throws CreateException
- Throws:
CreateException
doDispose
protected void doDispose()
- Specified by:
doDispose
in class AbstractMessageReceiver
doConnect
protected void doConnect()
throws ConnectException
- Initializes endpoint
- Specified by:
doConnect
in class AbstractMessageReceiver
- Throws:
ConnectException
doDisconnect
protected void doDisconnect()
- Unbinds Rmi class from registry
- Specified by:
doDisconnect
in class AbstractMessageReceiver
doStart
protected void doStart()
throws MuleException
- Specified by:
doStart
in class AbstractMessageReceiver
- Throws:
MuleException
doStop
protected void doStop()
throws MuleException
- Specified by:
doStop
in class AbstractMessageReceiver
- Throws:
MuleException
routeMessage
public Object routeMessage(Object message)
throws MuleException
- Routes message forward
- Parameters:
message
-
- Returns:
-
- Throws:
MuleException
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.