org.mule.work
Class DefaultWorkListener
java.lang.Object
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected transient Log logger
- logger used by this class
DefaultWorkListener
public DefaultWorkListener()
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-2012 MuleSoft, Inc.. All Rights Reserved.