|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.extensions.cdi.jsf.impl.util.RequestCache
@Typed public class RequestCache
Caches information for a request
Constructor Summary | |
---|---|
protected |
RequestCache()
|
Method Summary | |
---|---|
static 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 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected RequestCache()
Method Detail |
---|
public static void resetCache()
public static void resetConversationCache()
public static WindowContextManager getWindowContextManager()
WindowContextManager
. If there isn't a cached instance a new one will be created.
public static BeanEntryFactory getBeanEntryFactory()
BeanEntryFactory
. If there isn't a cached instance a new one will be created.
public static WindowContext getCurrentWindowContext()
WindowContext
public static void setCurrentWindowContext(WindowContext windowContext)
WindowContext
windowContext
- current window-contextpublic static EditableConversation getConversation(ConversationKey conversationKey)
Conversation
for the given ConversationKey
conversationKey
- current conversation-key
public static void setConversation(ConversationKey conversationKey, EditableConversation conversation)
Conversation
conversationKey
- key of the conversationconversation
- current conversation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |