@PostConstruct
    public void init() {
        cacheProvider = new EHCache3Provider();
    }
Skip the usage via PrimeApplicationContext, it's not available in 6.2.x
primefaces-showcase/src/main/java/org/primefaces/showcase/util/ShowcaseCacheProvider.java