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

Begin (JBoss Seam API Documentation) - JBoss Seam 1.0.0 API 英文版文档


org.jboss.seam.annotations
Annotation Type Begin


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

Marks a method as beginning a conversation, if none exists, and if the method returns without throwing an exception. If a list of outcomes is specified, the conversation begins 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 except for the null (redisplay) outcome.
 boolean join
          If false (the default), invocation of the begin method in the scope of an existing conversation will cause an exception to be thrown.
 boolean nested
          If enabled, and if a conversation is already active, begin a nested conversation, instead of continuing in the context of the existing conversation.
 String pageflow
          The name of the jBPM process definition defining the page flow for this conversation.
 

ifOutcome

public abstract String[] ifOutcome
An empty outcome list is interpreted to mean any outcome except for the null (redisplay) outcome.

Default:
{}

nested

public abstract boolean nested
If enabled, and if a conversation is already active, begin a nested conversation, instead of continuing in the context of the existing conversation.

Default:
false

join

public abstract boolean join
If false (the default), invocation of the begin method in the scope of an existing conversation will cause an exception to be thrown.

Default:
false

pageflow

public abstract String pageflow
The name of the jBPM process definition defining the page flow for this conversation.

Default:
""