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.Conversation
public void begin(String id)
begin
in interface javax.enterprise.context.Conversation
public void end()
end
in interface javax.enterprise.context.Conversation
public AtomicBoolean getInUsed()
public void setInUsed(boolean inUsed)
inUsed
- the inUsed to setpublic String getId()
getId
in interface javax.enterprise.context.Conversation
public long getTimeout()
getTimeout
in interface javax.enterprise.context.Conversation
public boolean isTransient()
isTransient
in interface javax.enterprise.context.Conversation
public void setTimeout(long milliseconds)
setTimeout
in interface javax.enterprise.context.Conversation
public String getSessionId()
public long getActiveTime()
public void updateTimeOut()
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.