|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.scope.AbstractScopeContext
com.caucho.server.webbeans.ConversationContext
public class ConversationContext
The conversation scope value
| Constructor Summary | |
|---|---|
ConversationContext()
|
|
| Method Summary | |
|---|---|
void |
begin()
Begins an extended conversation |
void |
begin(java.lang.String name)
|
protected ContextContainer |
createContextContainer()
Returns the current value of the component in the conversation scope. |
void |
destroy()
|
void |
end()
Ends an extended conversation |
protected ContextContainer |
getContextContainer()
Returns the current value of the component in the conversation scope. |
java.lang.String |
getId()
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope()
Returns the scope annotation type. |
long |
getTimeout()
|
boolean |
isActive()
Returns true if the scope is currently active. |
boolean |
isTransient()
|
void |
setTimeout(long timeout)
|
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.config.scope.AbstractScopeContext |
|---|
closeContext, create, get, get |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConversationContext()
| Method Detail |
|---|
public boolean isActive()
isActive in interface ContextisActive in class AbstractScopeContextpublic boolean isTransient()
isTransient in interface Conversationpublic java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
getScope in interface ContextgetScope in class AbstractScopeContextprotected ContextContainer getContextContainer()
getContextContainer in class AbstractScopeContextprotected ContextContainer createContextContainer()
createContextContainer in class AbstractScopeContextpublic void begin()
begin in interface Conversationpublic void begin(java.lang.String name)
begin in interface Conversationpublic void end()
end in interface Conversationpublic java.lang.String getId()
getId in interface Conversationpublic long getTimeout()
getTimeout in interface Conversationpublic void setTimeout(long timeout)
setTimeout in interface Conversationpublic void destroy()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||