|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.extensions.cdi.core.api.config.AbstractAttributeAware
org.apache.myfaces.extensions.cdi.core.api.scope.conversation.config.WindowContextConfig
@ApplicationScoped public class WindowContextConfig
Configuration for the WindowContext
- it's customizable via the @Alternative or @Specializes mechanism of CDI.
Constructor Summary | |
---|---|
protected |
WindowContextConfig()
|
Method Summary | |
---|---|
int |
getMaxWindowContextCount()
Restricts the number of active windows. |
int |
getWindowContextTimeoutInMinutes()
Specifies the time for the timeout for a window. |
boolean |
isAddWindowIdToActionUrlsEnabled()
if set to true CODI will add a windowId=xxx parameter
while encoding each action URL. |
boolean |
isCloseEmptyWindowContextsEnabled()
Allows to activate the cleanup of empty window contexts to avoid cleanup e.g. |
boolean |
isCloseWindowContextEventEnabled()
Specifies if the CloseWindowContextEvent
will be fired. |
boolean |
isCreateWindowContextEventEnabled()
Specifies if the CreateWindowContextEvent
will be fired. |
boolean |
isEagerWindowContextDetectionEnabled()
Allows to restore the window-context before the component tree gets built. |
boolean |
isUnknownWindowIdsAllowed()
Allows to restrict window-ids. |
boolean |
isUrlParameterSupported()
Specifies if it is allowed to use URL params for forwarding the current window-id. |
Methods inherited from class org.apache.myfaces.extensions.cdi.core.api.config.AbstractAttributeAware |
---|
containsAttribute, getAttribute, initConfig, setAttribute, setAttribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected WindowContextConfig()
Method Detail |
---|
public boolean isUrlParameterSupported()
public boolean isUnknownWindowIdsAllowed()
public boolean isAddWindowIdToActionUrlsEnabled()
true
CODI will add a windowId=xxx parameter
while encoding each action URL.
public int getWindowContextTimeoutInMinutes()
public int getMaxWindowContextCount()
public boolean isCloseEmptyWindowContextsEnabled()
public boolean isEagerWindowContextDetectionEnabled()
public boolean isCreateWindowContextEventEnabled()
CreateWindowContextEvent
will be fired.
public boolean isCloseWindowContextEventEnabled()
CloseWindowContextEvent
will be fired.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |