|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ConversationContext | |
|---|---|
| com.google.code.rees.scope.conversation | |
| com.google.code.rees.scope.conversation.context | |
| com.google.code.rees.scope.spring | |
| com.google.code.rees.scope.struts2 | |
| Uses of ConversationContext in com.google.code.rees.scope.conversation |
|---|
| Methods in com.google.code.rees.scope.conversation that return ConversationContext | |
|---|---|
static ConversationContext |
ConversationUtil.begin(String name,
ConversationAdapter adapter,
long maxIdleTimeMillis)
A convenience method for beginning a conversation programmatically |
static ConversationContext |
ConversationUtil.begin(String name,
long maxIdleTimeMillis)
A convenience method for beginning a conversation programmatically |
abstract ConversationContext |
ConversationAdapter.beginConversation(String conversationName,
long maxIdleTimeMillis)
begins a new conversation, returning the context for the new conversation |
static ConversationContext |
ConversationUtil.end(String name)
A convenience method for ending a conversation programmatically. |
static ConversationContext |
ConversationUtil.end(String name,
ConversationAdapter adapter)
A convenience method for ending a conversation programmatically. |
abstract ConversationContext |
ConversationAdapter.endConversation(String conversationName,
String conversationId)
Removes the conversation from the session, returning the context |
static ConversationContext |
ConversationUtil.getContext(String name)
Given the conversation name, returns that conversation's context for the current request. |
abstract ConversationContext |
ConversationAdapter.getConversationContext(String conversationName,
String conversationId)
Returns a ConversationContext for the given name and ID |
static ConversationContext |
ConversationUtil.persist(String name)
Persist a conversation programmatically |
static ConversationContext |
ConversationUtil.persist(String name,
ConversationAdapter adapter)
Persist a conversation programmatically |
| Uses of ConversationContext in com.google.code.rees.scope.conversation.context |
|---|
| Classes in com.google.code.rees.scope.conversation.context that implement ConversationContext | |
|---|---|
class |
DefaultConversationContext
The default implementation of the ConversationContext |
| Fields in com.google.code.rees.scope.conversation.context with type parameters of type ConversationContext | |
|---|---|
protected Map<String,Map<String,ConversationContext>> |
DefaultConversationContextManager.conversations
|
protected TimeoutMonitor<ConversationContext> |
TimeoutConversationContextManager.conversationTimeoutMonitor
|
| Methods in com.google.code.rees.scope.conversation.context that return ConversationContext | |
|---|---|
ConversationContext |
DefaultConversationContextFactory.create(String conversationName,
String conversationId,
long maxIdleTime)
Create a new context with the given name, id, and max idle time |
ConversationContext |
ConversationContextFactory.create(String conversationName,
String conversationId,
long maxIdleTime)
Create a new context with the given name, id, and max idle time |
ConversationContext |
TimeoutConversationContextManager.createContext(String conversationName,
long maxIdleTimeMillis)
Creates a new context for the given conversation name, using the given idle time |
ConversationContext |
DefaultConversationContextManager.createContext(String conversationName,
long maxIdleTimeMillis)
Creates a new context for the given conversation name, using the given idle time |
ConversationContext |
ConversationContextManager.createContext(String conversationName,
long maxIdleTimeMillis)
Creates a new context for the given conversation name, using the given idle time |
ConversationContext |
DefaultConversationContextManager.getContext(String conversationName,
String conversationId)
Retrieve the context identified by the given information, creating a new one if none exists. |
ConversationContext |
ConversationContextManager.getContext(String conversationName,
String conversationId)
Retrieve the context identified by the given information, creating a new one if none exists. |
ConversationContext |
TimeoutConversationContextManager.remove(String conversationName,
String conversationId)
Remove the context identified by the given information, returning the context being removed |
ConversationContext |
DefaultConversationContextManager.remove(String conversationName,
String conversationId)
Remove the context identified by the given information, returning the context being removed |
ConversationContext |
ConversationContextManager.remove(String conversationName,
String conversationId)
Remove the context identified by the given information, returning the context being removed |
| Methods in com.google.code.rees.scope.conversation.context that return types with arguments of type ConversationContext | |
|---|---|
static TimeoutMonitor<ConversationContext> |
HttpConversationUtil.getTimeoutMonitor(javax.servlet.http.HttpSession session)
|
| Methods in com.google.code.rees.scope.conversation.context with parameters of type ConversationContext | |
|---|---|
void |
TimeoutConversationContextManager.onTimeout(ConversationContext expiredConversation)
Called when the given Timeoutable's timeout method is called. |
| Method parameters in com.google.code.rees.scope.conversation.context with type arguments of type ConversationContext | |
|---|---|
protected void |
DefaultConversationContextManager.removeMostStaleConversation(Map<String,ConversationContext> conversationContexts,
String conversationName,
long defaultDuration)
Recursively removes the least-recently accessed conversations until the number of remaining conversations equals DefaultConversationContextManager.maxInstances |
static void |
HttpConversationUtil.setTimeoutMonitor(javax.servlet.http.HttpSession session,
TimeoutMonitor<ConversationContext> monitor)
|
void |
TimeoutConversationContextManager.setTimeoutMonitor(TimeoutMonitor<ConversationContext> conversationTimeoutMonitor)
|
| Uses of ConversationContext in com.google.code.rees.scope.spring |
|---|
| Methods in com.google.code.rees.scope.spring that return ConversationContext | |
|---|---|
ConversationContext |
SpringConversationAdapter.beginConversation(String conversationName,
long maxIdleTimeMillis)
begins a new conversation, returning the context for the new conversation |
ConversationContext |
SpringConversationAdapter.endConversation(String conversationName,
String conversationId)
Removes the conversation from the session, returning the context |
ConversationContext |
SpringConversationAdapter.getConversationContext(String conversationName,
String conversationId)
Returns a ConversationContext for the given name and ID |
| Uses of ConversationContext in com.google.code.rees.scope.struts2 |
|---|
| Methods in com.google.code.rees.scope.struts2 that return ConversationContext | |
|---|---|
ConversationContext |
StrutsConversationAdapter.beginConversation(String conversationName,
long maxIdleTimeMillis)
begins a new conversation, returning the context for the new conversation |
ConversationContext |
StrutsConversationAdapter.endConversation(String conversationName,
String conversationId)
Removes the conversation from the session, returning the context |
ConversationContext |
StrutsConversationAdapter.getConversationContext(String conversationName,
String conversationId)
Returns a ConversationContext for the given name and ID |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||