Class FaceletCacheFactory

java.lang.Object
javax.faces.view.facelets.FaceletCacheFactory
All Implemented Interfaces:
FacesWrapper<FaceletCacheFactory>

public abstract class FaceletCacheFactory extends Object implements FacesWrapper<FaceletCacheFactory>

Allows customization of the implementation of FaceletCache.

Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped() to access the instance being wrapped.

Since:
2.1
  • Constructor Details

    • FaceletCacheFactory

      @Deprecated public FaceletCacheFactory()
      Deprecated.
      Use the other constructor taking the implementation being wrapped.
    • FaceletCacheFactory

      public FaceletCacheFactory(FaceletCacheFactory wrapped)

      If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The getWrapped() will then return the implementation being wrapped.

      Parameters:
      wrapped - The implementation being wrapped.
  • Method Details

    • getWrapped

      public FaceletCacheFactory getWrapped()

      If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.

      Specified by:
      getWrapped in interface FacesWrapper<FaceletCacheFactory>
      Returns:
      the wrapped instance.
    • getFaceletCache

      public abstract FaceletCache getFaceletCache()