public class ConversationImpl extends Object implements 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 Conversationpublic void begin(String id)
begin in interface Conversationpublic void end()
end in interface Conversationpublic AtomicBoolean getInUsed()
public void setInUsed(boolean inUsed)
inUsed - the inUsed to setpublic String getId()
getId in interface Conversationpublic long getTimeout()
getTimeout in interface Conversationpublic boolean isTransient()
isTransient in interface Conversationpublic void setTimeout(long milliseconds)
setTimeout in interface Conversationpublic String getSessionId()
public long getActiveTime()
public void updateTimeOut()
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.