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 Summary
ConstructorDescriptionDeprecated.Use the other constructor taking the implementation being wrapped.FaceletCacheFactory
(FaceletCacheFactory wrapped) If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. -
Method Summary
Modifier and TypeMethodDescriptionabstract FaceletCache
Returns the facility by which the FaceletsViewDeclarationLanguage
creates and caches instances of Facelets.If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
-
Constructor Details
-
FaceletCacheFactory
Deprecated.Use the other constructor taking the implementation being wrapped. -
FaceletCacheFactory
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
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 interfaceFacesWrapper<FaceletCacheFactory>
- Returns:
- the wrapped instance.
-
getFaceletCache
Returns the facility by which the FaceletsViewDeclarationLanguage
creates and caches instances of Facelets.- Returns:
- the facelet cache
-