org.mule.extras.spring.events
Class AsynchronousEventListener

java.lang.Object
  extended byorg.mule.extras.spring.events.AsynchronousEventListener

public class AsynchronousEventListener
extends java.lang.Object

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.

Version:
$Revision: 1.2 $
Author:
Ross Mason

Field Summary
protected static Log logger
          logger used by this class
 
Constructor Summary
AsynchronousEventListener(PooledExecutor threadPool, ApplicationListener listener)
           
 
Method Summary
 void onApplicationEvent(ApplicationEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static transient Log logger
logger used by this class

Constructor Detail

AsynchronousEventListener

public AsynchronousEventListener(PooledExecutor threadPool,
                                 ApplicationListener listener)
Method Detail

onApplicationEvent

public void onApplicationEvent(ApplicationEvent event)


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