Skip navigation links
org.apache.myfaces.trinidad.context
Class WindowManagerFactory
java.lang.Object
org.apache.myfaces.trinidad.context.WindowManagerFactory
-
public abstract class WindowManagerFactory
- extends java.lang.Object
Application-scoped factory for creating per-Session WindowManager instances. It is the WindowManagerFactory implementation's responsibility to ensure that only one WindowManager instance is created per-session. The WindowManagerFactory is also responsible for ensuring that any mutable state in the WindowManager instances will be successfully failed over.
The factory is usually specified by placing the name of the WindowManagerFactory implementation class in a file named org.apache.myfaces.trinidad.context.WindowManagerFactory in the META-INF/services directory
- See Also:
WindowManager, RequestContext.getWindowManager()
| Method Summary |
abstract WindowManager |
getWindowManager(javax.faces.context.ExternalContext extContext)
Returns the WindowManager to use for this session, creating a new instance if one doesn't already exist. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowManagerFactory
public WindowManagerFactory()
getWindowManager
public abstract WindowManager getWindowManager(javax.faces.context.ExternalContext extContext)
- Returns the WindowManager to use for this session, creating a new instance if one doesn't already exist.
-
- Parameters:
extContext - ExternalContext
- Returns:
- WindowManager to use for this Session
Skip navigation links
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.