org.red5.server.scope
public class ScopeResolver extends Object implements IScopeResolver
Modifier and Type | Field and Description |
---|---|
protected IGlobalScope |
globalScope
Global scope
|
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
ScopeResolver() |
Modifier and Type | Method and Description |
---|---|
IGlobalScope |
getGlobalScope()
Getter for global scope
|
IScope |
resolveScope(IScope root,
String path)
Return scope associated with given path from given root scope.
|
IScope |
resolveScope(String path)
Return scope associated with given path
|
void |
setGlobalScope(IGlobalScope root)
Setter for global scope
|
protected static org.slf4j.Logger log
protected IGlobalScope globalScope
public IGlobalScope getGlobalScope()
getGlobalScope
in interface IScopeResolver
public void setGlobalScope(IGlobalScope root)
root
- Global scopepublic IScope resolveScope(String path)
resolveScope
in interface IScopeResolver
path
- Scope pathpublic IScope resolveScope(IScope root, String path)
resolveScope
in interface IScopeResolver
root
- Scope to start frompath
- Scope pathCopyright © 2006-2012 The Red5 Project