|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Conversation
Defines the conversation instance contract for using
in the ConversationScoped
webbeans components.
Please see the 8.5.4 Conversation context lifecycle of the specification.
ConversationScoped
Method Summary | |
---|---|
void |
begin()
Starts new conversation. |
void |
begin(String id)
Starts new conversation with the given id. |
void |
end()
Ends of the conversation. |
String |
getId()
Gets conversation id. |
long |
getTimeout()
Returns conversation time out. |
boolean |
isTransient()
|
void |
setTimeout(long milliseconds)
Sets conversation timeout in ms. |
Method Detail |
---|
void begin()
void begin(String id)
id
- conversation id.void end()
boolean isTransient()
true
if conversation is transient,
false
if it is a long running conversation.String getId()
long getTimeout()
void setTimeout(long milliseconds)
milliseconds
- timeout of the conversation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |