public interface Conversation
ConversationScoped webbeans components.
Please see the 8.5.4 Conversation context lifecycle of the specification.
ConversationScoped| Modifier and Type | Method and Description |
|---|---|
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.
|
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 conversationCopyright © 2025. All rights reserved.