org.mule.providers.rmi
Class RmiCallbackMessageReceiver

java.lang.Object
  extended by org.mule.providers.AbstractMessageReceiver
      extended by org.mule.providers.rmi.RmiCallbackMessageReceiver
All Implemented Interfaces:
Disposable, Lifecycle, Startable, Stoppable, UMOConnectable, UMOMessageReceiver

public class RmiCallbackMessageReceiver
extends AbstractMessageReceiver

TODO


Field Summary
protected  RmiConnector connector
           
static 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
protected  RmiAble remoteObject
           
 
Fields inherited from class org.mule.providers.AbstractMessageReceiver
component, connected, connecting, connectionStrategy, disposing, endpoint, logger, receiverKey, stopped
 
Constructor Summary
RmiCallbackMessageReceiver(UMOConnector connector, UMOComponent component, UMOEndpoint endpoint)
           
 
Method Summary
protected  void doConnect()
          Initializes endpoint
protected  void doDisconnect()
          Unbinds Rmi class from registry
protected  void doDispose()
           
protected  void doStart()
           
protected  void doStop()
           
 Object routeMessage(Object message)
          Routes message forward
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

RmiCallbackMessageReceiver

public RmiCallbackMessageReceiver(UMOConnector connector,
                                  UMOComponent component,
                                  UMOEndpoint endpoint)
                           throws InitialisationException
Throws:
InitialisationException
Method Detail

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 UMOException
Specified by:
doStart in class AbstractMessageReceiver
Throws:
UMOException

doStop

protected void doStop()
               throws UMOException
Specified by:
doStop in class AbstractMessageReceiver
Throws:
UMOException

routeMessage

public Object routeMessage(Object message)
                    throws MessagingException,
                           UMOException
Routes message forward

Parameters:
message -
Returns:
Throws:
MessagingException
UMOException


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.