|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@InterceptorBinding @Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) public @interface Begin
Begins a persistent Conversation
.
Optional Element Summary | |
---|---|
String |
id
Sets the new Conversation ID. |
Class<? extends Exception>[] |
permit
Sets the exception types for which, when encountered during a method invocation, the Conversation will still
begin. |
long |
timeout
Sets the Conversation timeout period, in milliseconds (E.g.: 5000 = 5 seconds.)
|
public abstract String id
Conversation
ID. Seam will Generate a conversation ID if left blank.
If a conversation with the ID already exists... TODO what should we do?
TODO test default conversation ID functionality
public abstract long timeout
Conversation
timeout period, in milliseconds (E.g.: 5000 = 5 seconds.)
public abstract Class<? extends Exception>[] permit
Conversation
will still
begin. (In other words: Permitted exceptions do not abort @Begin
)
By default: { empty array } - all encountered exceptions will prevent the Conversation
from beginning.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |