org.mule.extras.spring.events
Class AsynchronousEventListener
java.lang.Object
org.mule.extras.spring.events.AsynchronousEventListener
- All Implemented Interfaces:
- MuleEventListener
- public class AsynchronousEventListener
- extends Object
- implements MuleEventListener
AsynchronousEventListener will spawn a thread for each Event
received. The thread pool passed in the constructor will determine hown many
threads can be executed at any time.
|
Field Summary |
protected static Log |
logger
logger used by this class |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static Log logger
- logger used by this class
AsynchronousEventListener
public AsynchronousEventListener(ExecutorService threadPool,
ApplicationListener listener)
onApplicationEvent
public void onApplicationEvent(ApplicationEvent event)
getListener
public ApplicationListener getListener()
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.