Annotation Type AfterBegin

public @interface AfterBegin

The AfterBegin method notifies a beanlet instance that a new transaction has started, and that the subsequent business methods on the instance will be invoked in the context of the transaction.

Method Constraints

Only one method can be marked with this annotation. The method on which the AfterBegin annotation is applied MUST fulfill all of the following criteria:

XML Representation

The following xml-fragment shows how to express this annotation in xml. The italic attribute of the 'after-begin' tag is used to identify the element to which this annotation is applied.
<beanlets xmlns=""
  <beanlet name="foo" type="com.acme.Foo">
    <tx:after-begin method="bar"/>

See Also:

Copyright © 2006-2012. All Rights Reserved.