org.apache.felix.ipojo.transaction

## Annotation Type Transactional

    @Target(value={METHOD,ANNOTATION_TYPE})
    public @interface Transactional

Transactionnal Method annotation. Allows the declaration of transactionnal method. 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
`boolean` `exceptiononrollback` Sets if the transaction rollback throws an exception.
`String[]` `norollbackfor` Sets the exceptions that do not rollback the current transaction.
`String` `propagation` Sets the transaction propagation policy.
`long` `timeout` Sets the transaction timeout.

### Element Detail

#### timeout

    public abstract long timeout

Sets the transaction timeout.

Default:
  0L

#### propagation

    public abstract String propagation

Sets the transaction propagation policy. Supported values are : requires mandatory, notsupported, never, requiresnew.

Default:
  "requires"

#### norollbackfor

    public abstract String[] norollbackfor

Sets the exceptions that do not rollback the current transaction.

Default:
  {}

#### exceptiononrollback

    public abstract boolean exceptiononrollback

Sets if the transaction rollback throws an exception.

Default:
  false