org.apache.camel.impl
Class DefaultUnitOfWork

java.lang.Object
  extended by org.apache.camel.impl.DefaultUnitOfWork
All Implemented Interfaces:
UnitOfWork

public class DefaultUnitOfWork
extends Object
implements UnitOfWork

The default implementation of UnitOfWork

Version:
$Revision: 36321 $

Constructor Summary
DefaultUnitOfWork()
           
 
Method Summary
 void addSynchronization(Synchronization synchronization)
          Adds a synchronization hook
 void done(Exchange exchange)
          Invoked when this unit of work has been completed, whether it has failed or completed
 boolean isSynchronous()
           
 void removeSynchronization(Synchronization synchronization)
          Removes a synchronization hook
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultUnitOfWork

public DefaultUnitOfWork()
Method Detail

addSynchronization

public void addSynchronization(Synchronization synchronization)
Description copied from interface: UnitOfWork
Adds a synchronization hook

Specified by:
addSynchronization in interface UnitOfWork

removeSynchronization

public void removeSynchronization(Synchronization synchronization)
Description copied from interface: UnitOfWork
Removes a synchronization hook

Specified by:
removeSynchronization in interface UnitOfWork

reset

public void reset()

done

public void done(Exchange exchange)
Description copied from interface: UnitOfWork
Invoked when this unit of work has been completed, whether it has failed or completed

Specified by:
done in interface UnitOfWork

isSynchronous

public boolean isSynchronous()


Copyright © 2008 IONA Open Source Community. All Rights Reserved.