public abstract class ApplicationContext extends Object
ApplicationContext
is a contextual store, similar to RequestContext
.
Only one ApplicationContext
should be available in the application.
It can be accessed via:
RequestContext.getCurrentInstance().getApplicationContext();
Constructor and Description |
---|
ApplicationContext() |
Modifier and Type | Method and Description |
---|---|
abstract CacheProvider |
getCacheProvider() |
abstract ConfigContainer |
getConfig() |
abstract javax.validation.ValidatorFactory |
getValidatorFactory() |
public abstract ConfigContainer getConfig()
public abstract javax.validation.ValidatorFactory getValidatorFactory()
public abstract CacheProvider getCacheProvider()
Copyright © 2015. All rights reserved.