org.red5.server.api
public interface IContext extends org.springframework.core.io.support.ResourcePatternResolver
Modifier and Type | Field and Description |
---|---|
static String |
ID |
Modifier and Type | Method and Description |
---|---|
org.springframework.context.ApplicationContext |
getApplicationContext()
Getter for application context
|
Object |
getBean(String beanId)
Returns bean by ID
|
IClientRegistry |
getClientRegistry()
Get client registry.
|
Object |
getCoreService(String beanId)
Returns core service by bean id
|
IGlobalScope |
getGlobalScope()
Returns global scope reference
|
IMappingStrategy |
getMappingStrategy()
Returns IMappingStrategy object
|
IPersistenceStore |
getPersistanceStore()
Returns persistence store object, a storage for persistent objects like
persistent SharedObjects.
|
IServiceInvoker |
getServiceInvoker()
Returns service invoker object.
|
boolean |
hasBean(String beanId)
Returns true if the context contains a certain bean,
false otherwise.
|
IScopeHandler |
lookupScopeHandler(String path)
Returns scope handler (object that handle all actions related to the
scope) by path.
|
Object |
lookupService(String serviceName)
Returns service by name.
|
IScope |
resolveScope(IScope root,
String path)
Returns scope by path from given root.
|
IScope |
resolveScope(String path)
Returns scope by path.
|
static final String ID
org.springframework.context.ApplicationContext getApplicationContext()
IClientRegistry getClientRegistry()
IServiceInvoker getServiceInvoker()
IPersistenceStore getPersistanceStore()
IScopeHandler lookupScopeHandler(String path)
IScopeHandler
for details.path
- Path of scope handlerIScope resolveScope(String path)
IScope
for more
details.path
- Path of scopeIScope resolveScope(IScope root, String path)
IScope
for more details.root
- Root to start frompath
- Path of scopeIGlobalScope getGlobalScope()
Object lookupService(String serviceName)
serviceName
- Name of serviceObject getBean(String beanId)
beanId
- Bean IDboolean hasBean(String beanId)
beanId
- The name of the bean to find.Object getCoreService(String beanId)
beanId
- Bean IDIMappingStrategy getMappingStrategy()
Copyright © 2006-2012 The Red5 Project