|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface Begin
Marks a method as beginning a long-running conversation, if none exists, and if the method returns a non-null value without throwing an exception. If a list of outcomes is specified, the conversation begins only if the outcome is in the list. A null outcome never begins a conversation. If the method is of type void, a conversation always begins.
Optional Element Summary | |
---|---|
FlushModeType |
flushMode
Set the FlushMode for any EntityManager used in this conversation. |
String |
id
An EL expression for the conversation id. |
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. |
public abstract String[] ifOutcome
public abstract boolean nested
public abstract boolean join
public abstract String pageflow
public abstract String id
public abstract FlushModeType flushMode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |