org.jboss.weld.event
Class TransactionSynchronizedRunnable
java.lang.Object
org.jboss.weld.event.TransactionSynchronizedRunnable
- All Implemented Interfaces:
- Synchronization
public class TransactionSynchronizedRunnable
- extends Object
- implements Synchronization
A JTA transaction sychronization which wraps a Runnable.
- Author:
- David Allen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionSynchronizedRunnable
public TransactionSynchronizedRunnable(Runnable task,
boolean before)
TransactionSynchronizedRunnable
public TransactionSynchronizedRunnable(Runnable task,
Status desiredStatus)
afterCompletion
public void afterCompletion(int status)
- Specified by:
afterCompletion
in interface Synchronization
beforeCompletion
public void beforeCompletion()
- Specified by:
beforeCompletion
in interface Synchronization
Copyright © 2013 Seam Framework. All Rights Reserved.