|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.conversation.ConversationImpl
public class ConversationImpl
Implementation of the Conversation interface.
| Constructor Summary | |
|---|---|
ConversationImpl()
Default constructor. |
|
ConversationImpl(String sessionId,
WebBeansContext webBeansContext)
Creates a new conversation instance. |
|
ConversationImpl(WebBeansContext webBeansContext)
|
|
| Method Summary | |
|---|---|
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)
|
void |
setTransient(boolean value)
Sets transient. |
String |
toString()
|
void |
updateTimeOut()
Update conversation timeout value. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConversationImpl()
public ConversationImpl(WebBeansContext webBeansContext)
public ConversationImpl(String sessionId,
WebBeansContext webBeansContext)
sessionId - webBeansContext - | Method Detail |
|---|
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 void setTransient(boolean value)
value - transient valuepublic 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()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||