public class ConversationImpl extends Object implements javax.enterprise.context.Conversation, Serializable
Conversation
interface.Constructor and Description |
---|
ConversationImpl()
Default constructor.
|
ConversationImpl(WebBeansContext webBeansContext) |
Modifier and Type | Method and Description |
---|---|
void |
begin() |
void |
begin(String id)
This will also put the current ConversationContext into the SessionContext
|
void |
end()
This will also remove the current ConversationContext from the SessionContext
|
String |
getId() |
long |
getLastAccessTime() |
RuntimeException |
getProblemDuringCreation() |
long |
getTimeout() |
void |
iDontUseItAnymore() |
boolean |
isTransient() |
int |
iUseIt() |
void |
setProblemDuringCreation(RuntimeException problemDuringCreation) |
void |
setTimeout(long milliseconds) |
String |
toString() |
void |
updateLastAccessTime()
Update conversation timeout value.
|
public ConversationImpl()
public ConversationImpl(WebBeansContext 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 int iUseIt()
public void iDontUseItAnymore()
public 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 long getLastAccessTime()
public void updateLastAccessTime()
public RuntimeException getProblemDuringCreation()
public void setProblemDuringCreation(RuntimeException problemDuringCreation)
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.