|
|||||||||
| Home >> All >> org >> mule >> providers >> [ vm overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mule.providers.vm
Class VMConnector

java.lang.Objectorg.mule.providers.AbstractConnector
org.mule.providers.vm.VMConnector
- All Implemented Interfaces:
- org.mule.util.ExceptionListener, org.mule.umo.provider.UMOConnector
- public class VMConnector
- extends org.mule.providers.AbstractConnector
VMConnector A simple connector wrapper to allow a Mule session to
be accessed from a connector
- Version:
- $Revision: 1.10 $
| Field Summary | |
private static org.apache.commons.logging.Log |
log
The logger for this class |
(package private) java.util.Map |
receivers
A map of all receivers registered with the connector |
| Fields inherited from class org.mule.providers.AbstractConnector |
alive, DO_THREADING_PROPERTY, doThreading, exceptionStrategy, name, properties, protocol, started, transportName |
| Constructor Summary | |
VMConnector()
Default constructor |
|
| Method Summary | |
void |
create()
A template method to perform any additional creating work by the deriving class |
void |
dispatch(org.mule.umo.UMOEvent event)
Dispatches an event from the connector to the external system |
org.mule.umo.provider.UMOMessageAdapter |
getMessageAdapter(java.lang.Object message)
Gets a UMOMessageAdapter for the connector for the given message (data) |
java.lang.String |
getProtocol()
|
private MuleMessageReceiver |
getReceiver(org.mule.umo.UMOEvent event)
Obtains a receiver for a particular endpoint as specified in the provider in the event |
void |
registerListener(org.mule.umo.UMOSession session,
org.mule.umo.UMOProviderDescriptor provider)
This creates a UMOMessageReceiver associated with this connector and registers it
with the connector |
void |
removeListener(org.mule.umo.UMOSession session,
org.mule.umo.UMOProviderDescriptor provider)
|
org.mule.umo.UMOEvent |
send(org.mule.umo.UMOEvent event)
Sends an event from the connector to the external system |
protected void |
shutdownConnector()
Template method to perform any work when destroying the connectoe |
void |
startConnector()
Template method to perform any work when starting the connectoe |
void |
stopConnector()
Template method to perform any work when stopping the connectoe |
| Methods inherited from class org.mule.providers.AbstractConnector |
create, dispatch, getExceptionStrategy, getName, getProperties, getProperty, getProperty, getSession, getTransportName, handleException, isAlive, isDoThreading, isStarted, onException, setDoThreading, setExceptionStrategy, setName, setProperties, setProperty, setProtocol, setTransportName, shutdown, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
receivers
java.util.Map receivers
- A map of all receivers registered with the connector
log
private static final transient org.apache.commons.logging.Log log
- The logger for this class
| Constructor Detail |
VMConnector
public VMConnector()
- Default constructor
| Method Detail |
create
public void create()
throws java.lang.Exception
- Description copied from class:
org.mule.providers.AbstractConnector - A template method to perform any additional creating work by the deriving class
dispatch
public void dispatch(org.mule.umo.UMOEvent event) throws java.lang.Exception
- Description copied from interface:
org.mule.umo.provider.UMOConnector - Dispatches an event from the connector to the external system
send
public org.mule.umo.UMOEvent send(org.mule.umo.UMOEvent event) throws java.lang.Exception
- Description copied from interface:
org.mule.umo.provider.UMOConnector - Sends an event from the connector to the external system
getReceiver
private MuleMessageReceiver getReceiver(org.mule.umo.UMOEvent event) throws org.mule.umo.UMOException
- Obtains a receiver for a particular endpoint as specified in the provider in the event
registerListener
public void registerListener(org.mule.umo.UMOSession session, org.mule.umo.UMOProviderDescriptor provider) throws java.lang.Exception
- Description copied from interface:
org.mule.umo.provider.UMOConnector - This creates a
UMOMessageReceiverassociated with this connector and registers it with the connector
removeListener
public void removeListener(org.mule.umo.UMOSession session, org.mule.umo.UMOProviderDescriptor provider) throws java.lang.Exception
stopConnector
public void stopConnector()
- Description copied from class:
org.mule.providers.AbstractConnector - Template method to perform any work when stopping the connectoe
startConnector
public void startConnector()
- Description copied from class:
org.mule.providers.AbstractConnector - Template method to perform any work when starting the connectoe
getMessageAdapter
public org.mule.umo.provider.UMOMessageAdapter getMessageAdapter(java.lang.Object message) throws java.lang.Exception
- Description copied from interface:
org.mule.umo.provider.UMOConnector - Gets a
UMOMessageAdapterfor the connector for the given message (data)
getProtocol
public java.lang.String getProtocol()
shutdownConnector
protected void shutdownConnector()
throws java.lang.Exception
- Description copied from class:
org.mule.providers.AbstractConnector - Template method to perform any work when destroying the connectoe
|
|||||||||
| Home >> All >> org >> mule >> providers >> [ vm overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC