public class ConversationImpl extends Object implements 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 Conversationpublic void begin(String id)
begin in interface Conversationpublic void end()
end in interface Conversationpublic int iUseIt()
public void iDontUseItAnymore()
public 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 long getLastAccessTime()
public void updateLastAccessTime()
public RuntimeException getProblemDuringCreation()
public void setProblemDuringCreation(RuntimeException problemDuringCreation)
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.