org.apache.myfaces.trinidad.context

## Class WindowManagerFactory

- java.lang.Object
- - org.apache.myfaces.trinidad.context.WindowManagerFactory

-     public abstract class WindowManagerFactory
      extends 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()`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WindowManagerFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`

- - ### Constructor Detail

    - #### WindowManagerFactory

          public WindowManagerFactory()

  - ### Method Detail

    - #### 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

Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.