org.compass.core.transaction.context
Class TransactionalRunnableWithTr

java.lang.Object
  extended by org.compass.core.transaction.context.TransactionalRunnableWithTr
All Implemented Interfaces:
Runnable

public class TransactionalRunnableWithTr
extends Object
implements Runnable

A wrapper around a delegate runnable that will execute it within a transactional context.

Author:
kimchy

Constructor Summary
TransactionalRunnableWithTr(TransactionContext transactionContext, Runnable delegate)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionalRunnableWithTr

public TransactionalRunnableWithTr(TransactionContext transactionContext,
                                   Runnable delegate)
Method Detail

run

public void run()
Specified by:
run in interface Runnable


Copyright (c) 2004-2008 The Compass Project.