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

public abstract Class FaceletCacheFactory

extends Object
implements FacesWrapper<FaceletCacheFactory>
Class Inheritance
All Implemented Interfaces
javax.faces.FacesWrapper
Known Direct Subclasses
com.sun.faces.facelets.impl.FaceletCacheFactoryImpl
Imports
javax.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>
public FaceletCacheFactory
getWrapped()

Implements javax.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()
getWrappedback to summary
public FaceletCacheFactory getWrapped()

Implements javax.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 javax.faces.FacesWrapper.getWrapped.

the wrapped instance.

Annotations
@Override