Top Description Fields Constructors Methods
jakarta.faces.view.facelets

public abstract Class FaceletCacheFactory

extends Object
implements FacesWrapper<FaceletCacheFactory>
Class Inheritance
All Implemented Interfaces
jakarta.faces.FacesWrapper
Imports
jakarta.faces.FacesWrapper

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

Field Summary

Modifier and TypeField and Description
private FaceletCacheFactory

Constructor Summary

AccessConstructor and Description
public
FaceletCacheFactory()

Deprecated Use the other constructor taking the implementation being wrapped.
public
FaceletCacheFactory(FaceletCacheFactory
The implementation being wrapped.
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 TypeMethod and Description
public abstract FaceletCache<V>

Returns:

the facelet cache
getFaceletCache
()

Returns the facility by which the Facelets jakarta.faces.view.ViewDeclarationLanguage creates and caches instances of Facelets.

public FaceletCacheFactory
getWrapped()

Implements jakarta.faces.FacesWrapper.getWrapped.

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

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

wrappedback to summary
private FaceletCacheFactory wrapped

Constructor Detail

FaceletCacheFactoryback to summary
public FaceletCacheFactory()

Deprecated

Use the other constructor taking the implementation being wrapped.

Annotations
@Deprecated
FaceletCacheFactoryback to summary
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:FaceletCacheFactory

The implementation being wrapped.

Method Detail

getFaceletCacheback to summary
public abstract FaceletCache<V> getFaceletCache()

Returns the facility by which the Facelets jakarta.faces.view.ViewDeclarationLanguage creates and caches instances of Facelets.

Returns:FaceletCache<V>

the facelet cache

getWrappedback to summary
public FaceletCacheFactory getWrapped()

Implements jakarta.faces.FacesWrapper.getWrapped.

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

Returns:FaceletCacheFactory

Doc from jakarta.faces.FacesWrapper.getWrapped.

the wrapped instance.

Annotations
@Override