oracle.adf.view.rich.context

## Class ViewScopeProvider

- java.lang.Object
- - oracle.adf.view.rich.context.ViewScopeProvider

-     @Exported
      public abstract class ViewScopeProvider
      extends Object

  META_INF/services-based application-scoped factory. If present, this factory will be used for `AdfFacesContext.getViewScope()`
  See Also:
    `AdfFacesContext.getViewScope()`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ViewScopeProvider()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract Map<String,Object>` | `getViewScope(javax.faces.context.FacesContext context)` Returns a Map of objects at "view" scope.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ViewScopeProvider

          public ViewScopeProvider()

  - ### Method Detail

    - #### getViewScope

          public abstract Map<String,Object> getViewScope(javax.faces.context.FacesContext context)

      Returns a Map of objects at "view" scope. The lifetime of "view" scope is the period that the user interacts with this page instance in a particular view window. Thus, two windows on the same view id will have different "view" scopes.

      The viewScope may not be available until after the RestoreView phase completes.

      Parameters:
        `context` - the faces context
      Returns:
        a Map of objects at "view" scope.

Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.