|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface AfterCompletion
The AfterCompletion method notifies a beanlet instance that
the transaction commit protocol has completed, and tells the instance
whether the transaction has been committed or rolled back.
AfterCompletioon annotation is applied MUST fulfill all of the
following criteria:
AfterCompletion is applied MAY be
public, protected, package private or private.
static.
final.
<beanlets xmlns="http://beanlet.org/schema/beanlet"
xmlns:tx="http://beanlet.org/schema/transaction"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://beanlet.org/schema/beanlet http://beanlet.org/schema/beanlet/beanlet_1_0.xsd
http://beanlet.org/schema/transaction http://beanlet.org/schema/transaction/beanlet_transaction_1_0.xsd">
<beanlet name="foo" type="com.acme.Foo">
<tx:after-completion method="bar"/>
</beanlet>
</beanlets>
TransactionSynchronization
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||