org.apache.felix.ipojo.transaction
Annotation Type Transaction


@Target(value=TYPE)
public @interface Transaction

Transaction Handler annotation. Allows the declaration of transactionnal methods Be aware that despite is it provided in the annotations jar, it refers to an external handler.

Author:
Felix Project Team

Optional Element Summary
 String field
          Sets the Transaction field.
 String oncommit
          Sets the method called when a transaction is committed.
 String onrollback
          Sets the method called when a transaction is rolled back.
 

field

public abstract String field
Sets the Transaction field. The specified field must be of the type Transaction.

Default:
""

oncommit

public abstract String oncommit
Sets the method called when a transaction is committed.

Default:
""

onrollback

public abstract String onrollback
Sets the method called when a transaction is rolled back.

Default:
""


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.