|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface End
Marks a method as ending a conversation, if the method returns a non-null outcome without throwing an exception. If a list of outcomes is specified, the conversation ends only if the outcome is in the list. A null outcome never ends the conversation. If the method is of type void, the conversation always ends.
Optional Element Summary | |
---|---|
boolean |
beforeRedirect
Should the conversation be destroyed before any redirect? (The default behavior is to propagate the conversation across the redirect and then destroy it at the end of the redirected request.) |
String[] |
ifOutcome
An empty outcome list is interpreted to mean any outcome except for the null (redisplay) outcome. |
public abstract String[] ifOutcome
public abstract boolean beforeRedirect
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |