public class ConversationContext extends AbstractScopeContext implements Conversation, java.io.Serializable
| Constructor and Description |
|---|
ConversationContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Begins an extended conversation
|
void |
begin(java.lang.String name) |
protected ContextContainer |
createContextContainer()
Returns the current value of the component in the conversation scope.
|
void |
destroy() |
void |
end()
Ends an extended conversation
|
protected ContextContainer |
getContextContainer()
Returns the current value of the component in the conversation scope.
|
java.lang.String |
getId() |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope()
Returns the scope annotation type.
|
long |
getTimeout() |
boolean |
isActive()
Returns true if the scope is currently active.
|
boolean |
isTransient() |
void |
setTimeout(long timeout) |
java.lang.String |
toString() |
closeContext, create, get, getpublic boolean isActive()
isActive in interface ContextisActive in class AbstractScopeContextpublic boolean isTransient()
isTransient in interface Conversationpublic java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
getScope in interface ContextgetScope in class AbstractScopeContextprotected ContextContainer getContextContainer()
getContextContainer in class AbstractScopeContextprotected ContextContainer createContextContainer()
createContextContainer in class AbstractScopeContextpublic void begin()
begin in interface Conversationpublic void begin(java.lang.String name)
begin in interface Conversationpublic void end()
end in interface Conversationpublic java.lang.String getId()
getId in interface Conversationpublic long getTimeout()
getTimeout in interface Conversationpublic void setTimeout(long timeout)
setTimeout in interface Conversationpublic void destroy()
public java.lang.String toString()
toString in class java.lang.Object