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 |
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
failBeforeCompletion
public void failBeforeCompletion(@Observes(during=IN_PROGRESS)
Failure failure)
throws Exception
- Parameters:
failure -
- Throws:
Exception
Copyright © 2008-2013 Seam Framework. All Rights Reserved.