Class CacheInitializer


  • public final class CacheInitializer
    extends Object
    Optional initializer for the Cache 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
    • Method Detail

      • loadProviderAndRegisterFilter

        public static void loadProviderAndRegisterFilter​(ServletContext context)