Class ScopeResolver

java.lang.Object
org.red5.server.scope.ScopeResolver
All Implemented Interfaces:
IScopeResolver

public class ScopeResolver extends Object implements IScopeResolver
Resolves scopes from path
  • Field Details

    • log

      protected static org.slf4j.Logger log
    • globalScope

      protected IGlobalScope globalScope
      Global scope
  • Constructor Details

    • ScopeResolver

      public ScopeResolver()
  • Method Details

    • getGlobalScope

      public IGlobalScope getGlobalScope()
      Getter for global scope
      Specified by:
      getGlobalScope in interface IScopeResolver
      Returns:
      Global scope
    • setGlobalScope

      public void setGlobalScope(IGlobalScope root)
      Setter for global scope
      Parameters:
      root - Global scope
    • resolveScope

      public IScope resolveScope(String path)
      Return scope associated with given path
      Specified by:
      resolveScope in interface IScopeResolver
      Parameters:
      path - Scope path
      Returns:
      Scope object
    • resolveScope

      public IScope resolveScope(IScope root, String path)
      Return scope associated with given path from given root scope.
      Specified by:
      resolveScope in interface IScopeResolver
      Parameters:
      root - Scope to start from
      path - Scope path
      Returns:
      Scope object