org.apache.felix.ipojo.transaction

## Annotation Type Transaction

    @Target(value={TYPE,ANNOTATION_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

Optional Elements
`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.

### Element Detail

#### 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:
  ""