org.compass.core.transaction.context
Class TransactionalRunnable

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

public class TransactionalRunnable
extends Object
implements Runnable

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

Author:
kimchy

Constructor Summary
TransactionalRunnable(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

TransactionalRunnable

public TransactionalRunnable(TransactionContext transactionContext,
                             Runnable delegate)
Method Detail

run

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


Copyright (c) 2004-2008 The Compass Project.