org.jboss.seam.annotations
Annotation Type Rollback


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface Rollback

Marks any method as causing a transaction rollback. If the method is an action listener method and a list of outcomes is specified, the transaction is rolled back only if the outcome is in the list.

Author:
Gavin King

Optional Element Summary
 String[] ifOutcome
          An empty outcome list is interpreted to mean any outcome.
 

ifOutcome

public abstract String[] ifOutcome
An empty outcome list is interpreted to mean any outcome.

Default:
{}