|
||||||||||
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 Context
isActive
in class AbstractScopeContext
public boolean isTransient()
isTransient
in interface Conversation
public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
getScope
in interface Context
getScope
in class AbstractScopeContext
protected ContextContainer getContextContainer()
getContextContainer
in class AbstractScopeContext
protected ContextContainer createContextContainer()
createContextContainer
in class AbstractScopeContext
public void begin()
begin
in interface Conversation
public void begin(java.lang.String name)
begin
in interface Conversation
public void end()
end
in interface Conversation
public java.lang.String getId()
getId
in interface Conversation
public long getTimeout()
getTimeout
in interface Conversation
public void setTimeout(long timeout)
setTimeout
in interface Conversation
public 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 |