Class ScopeContext

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

public class ScopeContext extends Object

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

Since:
2.0
  • Constructor Details Link icon

    • ScopeContext Link icon

      public ScopeContext(String scopeName, Map<String,Object> scope)

      Construct this structure with the supplied arguments.

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

    • getScopeName Link icon

      public String getScopeName()

      Return the name of this custom scope.

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

      public Map<String,Object> getScope()

      Return the scope itself, exposed as a Map.

      Returns:
      Return the scope itself, exposed as a Map