Class FaceletCacheFactory

java.lang.Object
jakarta.faces.view.facelets.FaceletCacheFactory
All Implemented Interfaces:
FacesWrapper<FaceletCacheFactory>
Direct Known Subclasses:
FaceletCacheFactoryImpl

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