org.mule.providers.vm
Class VMMessageReceiver

java.lang.Object
  extended byorg.mule.providers.AbstractMessageReceiver
      extended byorg.mule.providers.vm.VMMessageReceiver
All Implemented Interfaces:
Disposable, java.lang.Runnable, UMOMessageReceiver

public class VMMessageReceiver
extends AbstractMessageReceiver
implements java.lang.Runnable

VMMessageReceiver is a listener of events from a mule component which then simply

passes the events on to the target component.

Version:
$Revision: 1.3 $
Author:
Ross Mason

Field Summary
 
Fields inherited from class org.mule.providers.AbstractMessageReceiver
component, connector, disposing, endpoint, logger, model, serverSide
 
Constructor Summary
VMMessageReceiver(UMOConnector connector, UMOComponent component, UMOEndpoint endpoint, BoundedPersistentQueue queue)
           
 
Method Summary
 void doDispose()
          Template method to dispose any resources associated with this receiver.
 java.lang.Object onCall(UMOEvent event)
           
 void onEvent(UMOEvent event)
           
 void run()
           
 
Methods inherited from class org.mule.providers.AbstractMessageReceiver
allowFilter, create, dispose, getComponent, getConnector, getEndpoint, getEndpointURI, handleException, handleSecurtyException, handleUnacceptedFilter, isServerSide, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, routeMessage, setComponent, setConnector, setEndpoint, setServerSide
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VMMessageReceiver

public VMMessageReceiver(UMOConnector connector,
                         UMOComponent component,
                         UMOEndpoint endpoint,
                         BoundedPersistentQueue queue)
                  throws InitialisationException
Method Detail

onEvent

public void onEvent(UMOEvent event)
             throws UMOException
Throws:
UMOException

onCall

public java.lang.Object onCall(UMOEvent event)
                        throws UMOException
Throws:
UMOException

run

public void run()
Specified by:
run in interface java.lang.Runnable

doDispose

public void doDispose()
               throws UMOException
Description copied from class: AbstractMessageReceiver
Template method to dispose any resources associated with this receiver. There is not need to dispose the connector as this is already done by the framework

Overrides:
doDispose in class AbstractMessageReceiver
Throws:
UMOException


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.