Package org.omnifaces.util.cache
Class CacheInitializer
- java.lang.Object
-
- org.omnifaces.util.cache.CacheInitializer
-
public final class CacheInitializer extends Object
Optional initializer for theCache
used by the Omnifaces Cache component.It takes a configuration from web.xml context parameters and used that to set a cache provider and/or configure the caching provider. If no initialization is done defaults are used.
- Since:
- 1.1
- Author:
- Arjan Tijms
- See Also:
ApplicationListener
-
-
Field Summary
Fields Modifier and Type Field Description static String
CACHE_INSTALL_BUFFER_FILTER
static String
CACHE_PROVIDER_INIT_PARAM_NAME
static String
CACHE_PROVIDER_SETTING_INIT_PARAM_PREFIX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
loadProviderAndRegisterFilter(ServletContext context)
-
-
-
Field Detail
-
CACHE_PROVIDER_INIT_PARAM_NAME
public static final String CACHE_PROVIDER_INIT_PARAM_NAME
- See Also:
- Constant Field Values
-
CACHE_INSTALL_BUFFER_FILTER
public static final String CACHE_INSTALL_BUFFER_FILTER
- See Also:
- Constant Field Values
-
CACHE_PROVIDER_SETTING_INIT_PARAM_PREFIX
public static final String CACHE_PROVIDER_SETTING_INIT_PARAM_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadProviderAndRegisterFilter
public static void loadProviderAndRegisterFilter(ServletContext context)
-
-