public class ConversationImpl extends Object implements javax.enterprise.context.Conversation, Serializable
Conversation interface.| Constructor and Description |
|---|
ConversationImpl()
Default constructor.
|
ConversationImpl(String sessionId,
WebBeansContext webBeansContext)
Creates a new conversation instance.
|
ConversationImpl(WebBeansContext webBeansContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
begin(String id) |
void |
end() |
boolean |
equals(Object obj) |
long |
getActiveTime() |
String |
getId() |
AtomicBoolean |
getInUsed() |
String |
getSessionId()
Gets session id.
|
long |
getTimeout() |
int |
hashCode() |
boolean |
isTransient() |
void |
setInUsed(boolean inUsed) |
void |
setTimeout(long milliseconds) |
String |
toString() |
void |
updateTimeOut()
Update conversation timeout value.
|
public ConversationImpl()
public ConversationImpl(WebBeansContext webBeansContext)
public ConversationImpl(String sessionId, WebBeansContext webBeansContext)
sessionId - webBeansContext - public void begin()
begin in interface javax.enterprise.context.Conversationpublic void begin(String id)
begin in interface javax.enterprise.context.Conversationpublic void end()
end in interface javax.enterprise.context.Conversationpublic AtomicBoolean getInUsed()
public void setInUsed(boolean inUsed)
inUsed - the inUsed to setpublic String getId()
getId in interface javax.enterprise.context.Conversationpublic long getTimeout()
getTimeout in interface javax.enterprise.context.Conversationpublic boolean isTransient()
isTransient in interface javax.enterprise.context.Conversationpublic void setTimeout(long milliseconds)
setTimeout in interface javax.enterprise.context.Conversationpublic String getSessionId()
public long getActiveTime()
public void updateTimeOut()
Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.