|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IContext
The current context, this object basically wraps the Spring context or in the case of the .Net version, any similar system.
Field Summary | |
---|---|
static String |
ID
|
Fields inherited from interface org.springframework.core.io.support.ResourcePatternResolver |
---|
CLASSPATH_ALL_URL_PREFIX |
Fields inherited from interface org.springframework.core.io.ResourceLoader |
---|
CLASSPATH_URL_PREFIX |
Method Summary | |
---|---|
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. |
Methods inherited from interface org.springframework.core.io.support.ResourcePatternResolver |
---|
getResources |
Methods inherited from interface org.springframework.core.io.ResourceLoader |
---|
getClassLoader, getResource |
Field Detail |
---|
static final String ID
Method Detail |
---|
ApplicationContext getApplicationContext()
IClientRegistry getClientRegistry()
IServiceInvoker getServiceInvoker()
IPersistenceStore getPersistanceStore()
IScopeHandler lookupScopeHandler(String path)
IScopeHandler
for details.
path
- Path of scope handler
IScope resolveScope(String path)
IScope
for more
details.
path
- Path of scope
IScope resolveScope(IScope root, String path)
IScope
for more details.
root
- Root to start frompath
- Path of scope
IGlobalScope getGlobalScope()
Object lookupService(String serviceName)
serviceName
- Name of service
Object getBean(String beanId)
beanId
- Bean ID
boolean hasBean(String beanId)
beanId
- The name of the bean to find.
Object getCoreService(String beanId)
beanId
- Bean ID
IMappingStrategy getMappingStrategy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |