public class AccountTransactionObserver extends Object
| Constructor and Description |
|---|
AccountTransactionObserver() |
| Modifier and Type | Method and Description |
|---|---|
void |
failBeforeCompletion(Failure failure) |
void |
withdrawAfterCompletion(Withdrawal withdrawal) |
void |
withdrawAfterFailure(Withdrawal withdrawal) |
void |
withdrawAfterSuccess(Withdrawal withdrawal) |
void |
withdrawBeforeCompletion(Withdrawal withdrawal) |
void |
withdrawNoTx(Withdrawal withdrawal)
Always fire immediately.
|
public void withdrawAfterSuccess(@Observes(during=AFTER_SUCCESS)
Withdrawal withdrawal)
throws Exception
withdrawal - Exceptionpublic void withdrawAfterCompletion(@Observes(during=AFTER_COMPLETION)
Withdrawal withdrawal)
throws Exception
withdrawal - Exceptionpublic void withdrawBeforeCompletion(@Observes(during=BEFORE_COMPLETION)
Withdrawal withdrawal)
throws Exception
withdrawal - Exceptionpublic void withdrawNoTx(@Observes(during=IN_PROGRESS)
Withdrawal withdrawal)
throws Exception
withdrawal - Exceptionpublic void withdrawAfterFailure(@Observes(during=AFTER_FAILURE)
Withdrawal withdrawal)
throws Exception
withdrawal - ExceptionCopyright © 2008-2013 Seam Framework. All Rights Reserved.