Package | Description |
---|---|
org.omnifaces.component.output.cache |
Modifier and Type | Class and Description |
---|---|
class |
CacheInstancePerScopeProvider
Base class for Cache providers where for each scope a new instance of the cache is created if for that scope no instance
is present yet.
|
class |
DefaultCacheProvider
A default cache provider that will be used by the OmniFaces Cache component if no explicit provider has been
configured.
|
Modifier and Type | Method and Description |
---|---|
static CacheProvider |
CacheFactory.getCacheProvider(FacesContext context)
Gets the cache provider that has been set, or the default provider if none is present.
|
static CacheProvider |
CacheFactory.getCacheProvider(ServletContext servletContext)
Gets the cache provider as it has been set in the ServletContext.
|
static CacheProvider |
CacheFactory.getDefaultCacheProvider()
Returns an instance of the default cache provider.
|
Modifier and Type | Method and Description |
---|---|
static void |
CacheFactory.setCacheProvider(CacheProvider cacheProvider,
ServletContext servletContext) |
Copyright © 2012–2016 OmniFaces. All rights reserved.