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, get
public boolean isActive()
isActive
in interface Context
isActive
in class AbstractScopeContext
public boolean isTransient()
isTransient
in interface Conversation
public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
getScope
in interface Context
getScope
in class AbstractScopeContext
protected ContextContainer getContextContainer()
getContextContainer
in class AbstractScopeContext
protected ContextContainer createContextContainer()
createContextContainer
in class AbstractScopeContext
public void begin()
begin
in interface Conversation
public void begin(java.lang.String name)
begin
in interface Conversation
public void end()
end
in interface Conversation
public java.lang.String getId()
getId
in interface Conversation
public long getTimeout()
getTimeout
in interface Conversation
public void setTimeout(long timeout)
setTimeout
in interface Conversation
public void destroy()
public java.lang.String toString()
toString
in class java.lang.Object