public interface IContext extends ResourcePatternResolver
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
CLASSPATH_ALL_URL_PREFIXCLASSPATH_URL_PREFIX| Modifier and Type | Method and Description |
|---|---|
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.
|
getResourcesgetClassLoader, getResourcestatic final String ID
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 © 2005–2017 Red5. All rights reserved.