org.mule.transport
Class TrackerWorkListener

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

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

Wraps a WorkListener associated with a given Work to delegate notifications originated in a work's wrapper.


Constructor Summary
TrackerWorkListener(javax.resource.spi.work.Work work, javax.resource.spi.work.WorkListener delegate)
           
 
Method Summary
 void workAccepted(javax.resource.spi.work.WorkEvent e)
           
 void workCompleted(javax.resource.spi.work.WorkEvent e)
           
 void workRejected(javax.resource.spi.work.WorkEvent e)
           
 void workStarted(javax.resource.spi.work.WorkEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrackerWorkListener

public TrackerWorkListener(javax.resource.spi.work.Work work,
                           javax.resource.spi.work.WorkListener delegate)
Method Detail

workAccepted

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

workRejected

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

workStarted

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

workCompleted

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


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.