Class ScopeContext

java.lang.Object
jakarta.faces.event.ScopeContext

@Deprecated(since="5.0", forRemoval=true) public class ScopeContext extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
without replacement as this is nowhere used anymore since 4.0.

A structure that contains the name of the scope and the scope itself exposed as a Map<String, Object>.

Since:
2.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    ScopeContext(String scopeName, Map<String,Object> scope)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Construct this structure with the supplied arguments.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Return the scope itself, exposed as a Map.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Return the name of this custom scope.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ScopeContext

      public ScopeContext(String scopeName, Map<String,Object> scope)
      Deprecated, for removal: This API element is subject to removal in a future version.

      Construct this structure with the supplied arguments.

      Parameters:
      scopeName - the name of the scope
      scope - the scope itself
  • Method Details

    • getScopeName

      public String getScopeName()
      Deprecated, for removal: This API element is subject to removal in a future version.

      Return the name of this custom scope.

      Returns:
      Return the name of this custom scope.
    • getScope

      public Map<String,Object> getScope()
      Deprecated, for removal: This API element is subject to removal in a future version.

      Return the scope itself, exposed as a Map.

      Returns:
      Return the scope itself, exposed as a Map