@Typed public class RequestCache extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
RequestCache() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.spi.BeanEntryFactory |
getBeanEntryFactory()
Exposes the cached
BeanEntryFactory. |
static EditableConversation |
getConversation(ConversationKey conversationKey)
Exposes the cached
Conversation
for the given ConversationKey |
static WindowContext |
getCurrentWindowContext()
Exposes the cached
WindowContext |
static org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.spi.WindowContextManager |
getWindowContextManager()
Exposes the cached
WindowContextManager. |
static void |
resetCache()
Resets all caches
|
static void |
resetConversationCache()
Resets conversation caches only
|
static void |
setConversation(ConversationKey conversationKey,
EditableConversation conversation)
Caches the given
Conversation |
static void |
setCurrentWindowContext(WindowContext windowContext)
Caches the current
WindowContext |
public static void resetCache()
public static void resetConversationCache()
public static org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.spi.WindowContextManager getWindowContextManager()
WindowContextManager. If there isn't a cached instance a new one will be created.public static org.apache.myfaces.extensions.cdi.core.impl.scope.conversation.spi.BeanEntryFactory getBeanEntryFactory()
BeanEntryFactory. If there isn't a cached instance a new one will be created.public static WindowContext getCurrentWindowContext()
WindowContextpublic static void setCurrentWindowContext(WindowContext windowContext)
WindowContextwindowContext - current window-contextpublic static EditableConversation getConversation(ConversationKey conversationKey)
Conversation
for the given ConversationKeyconversationKey - current conversation-keypublic static void setConversation(ConversationKey conversationKey, EditableConversation conversation)
ConversationconversationKey - key of the conversationconversation - current conversationCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.