站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.2.0 patch1 API 英文版文档

Rollback (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档


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:
{}