org.mule.work
Class DefaultWorkListener

java.lang.Object
  extended by org.mule.work.DefaultWorkListener
All Implemented Interfaces:
EventListener, javax.resource.spi.work.WorkListener

public class DefaultWorkListener
extends Object
implements javax.resource.spi.work.WorkListener

Default exception Handler used when executing work in the work manager


Field Summary
protected  Log logger
          logger used by this class
 
Constructor Summary
DefaultWorkListener()
           
 
Method Summary
protected  void handleWorkException(javax.resource.spi.work.WorkEvent event, String type)
           
 void workAccepted(javax.resource.spi.work.WorkEvent event)
           
 void workCompleted(javax.resource.spi.work.WorkEvent event)
           
 void workRejected(javax.resource.spi.work.WorkEvent event)
           
 void workStarted(javax.resource.spi.work.WorkEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected transient Log logger
logger used by this class

Constructor Detail

DefaultWorkListener

public DefaultWorkListener()
Method Detail

workAccepted

public void workAccepted(javax.resource.spi.work.WorkEvent event)
Specified by:
workAccepted in interface javax.resource.spi.work.WorkListener

workRejected

public void workRejected(javax.resource.spi.work.WorkEvent event)
Specified by:
workRejected in interface javax.resource.spi.work.WorkListener

workStarted

public void workStarted(javax.resource.spi.work.WorkEvent event)
Specified by:
workStarted in interface javax.resource.spi.work.WorkListener

workCompleted

public void workCompleted(javax.resource.spi.work.WorkEvent event)
Specified by:
workCompleted in interface javax.resource.spi.work.WorkListener

handleWorkException

protected void handleWorkException(javax.resource.spi.work.WorkEvent event,
                                   String type)


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