org.jboss.cdi.tck.tests.event.observer.transactional
Class AccountTransactionObserver
java.lang.Object
org.jboss.cdi.tck.tests.event.observer.transactional.AccountTransactionObserver
public class AccountTransactionObserver
- extends Object
- Author:
- Martin Kouba
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
beforeCompletionObservedTime
public static long beforeCompletionObservedTime
afterCompletionObservedTime
public static long afterCompletionObservedTime
afterSuccessObservedTime
public static long afterSuccessObservedTime
afterFailureObservedTime
public static long afterFailureObservedTime
noTxObservedTime
public static long noTxObservedTime
AccountTransactionObserver
public AccountTransactionObserver()
withdrawAfterSuccess
public void withdrawAfterSuccess(@Observes(during=AFTER_SUCCESS)
Withdrawal withdrawal)
throws Exception
- Parameters:
withdrawal -
- Throws:
Exception
withdrawAfterCompletion
public void withdrawAfterCompletion(@Observes(during=AFTER_COMPLETION)
Withdrawal withdrawal)
throws Exception
- Parameters:
withdrawal -
- Throws:
Exception
withdrawBeforeCompletion
public void withdrawBeforeCompletion(@Observes(during=BEFORE_COMPLETION)
Withdrawal withdrawal)
throws Exception
- Parameters:
withdrawal -
- Throws:
Exception
withdrawNoTx
public void withdrawNoTx(@Observes(during=IN_PROGRESS)
Withdrawal withdrawal)
throws Exception
- Always fire immediately.
- Parameters:
withdrawal -
- Throws:
Exception
withdrawAfterFailure
public void withdrawAfterFailure(@Observes(during=AFTER_FAILURE)
Withdrawal withdrawal)
throws Exception
- Parameters:
withdrawal -
- Throws:
Exception
reset
public static void reset()
allEventsFiredBeforeCheckpoint
public static boolean allEventsFiredBeforeCheckpoint(long checkpoint)
Copyright © 2008-2012 Seam Framework. All Rights Reserved.