Package com.sun.faces.facelets
Class FaceletCache<V>
java.lang.Object
com.sun.faces.facelets.FaceletCache<V>
@Deprecated public abstract class FaceletCache<V> extends Object
Deprecated.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
FaceletCache.InstanceFactory<V>
Deprecated. -
Constructor Summary
Constructors Constructor Description FaceletCache()
Deprecated. -
Method Summary
Modifier and Type Method Description abstract V
getFacelet(URL url)
Deprecated.Retrieves a cached Faceletprotected FaceletCache.InstanceFactory<V>
getFaceletInstanceFactory()
Deprecated.Retrieves InstanceFactory for creating Faceletsabstract V
getMetadataFacelet(URL url)
Deprecated.Retrieves a cached Metadata Faceletprotected FaceletCache.InstanceFactory<V>
getMetadataFaceletInstanceFactory()
Deprecated.Retrieves InstanceFactory for creating Metadata Faceletsvoid
init(FaceletCache.InstanceFactory<V> faceletFactory, FaceletCache.InstanceFactory<V> metafaceletFactory)
Deprecated.Initializes this cache instance.abstract boolean
isFaceletCached(URL url)
Deprecated.Determines whether a cached Facelet instance exists for this URLabstract boolean
isMetadataFaceletCached(URL url)
Deprecated.Determines whether a cached Metadata Facelet instance exists for this URL
-
Constructor Details
-
FaceletCache
public FaceletCache()Deprecated.
-
-
Method Details
-
getFacelet
Deprecated.Retrieves a cached Facelet- Parameters:
url
- URL for the Facelet being retrieved- Returns:
- cached Facelet instance, If no instance is available, it will be created using the Facelet InstanceFactory and stored in the cache
- Throws:
IOException
-
isFaceletCached
Deprecated.Determines whether a cached Facelet instance exists for this URL- Parameters:
url
- URL for the Facelet- Returns:
- true if a cached instance exists, false otherwise
-
getMetadataFacelet
Deprecated.Retrieves a cached Metadata Facelet- Parameters:
url
- URL for the Metadata Facelet being retrieved- Returns:
- cached Metadata Facelet instance, If no instance is available, it will be created using the Metadata Facelet InstanceFactory and stored in the cache
- Throws:
IOException
-
isMetadataFaceletCached
Deprecated.Determines whether a cached Metadata Facelet instance exists for this URL- Parameters:
url
- URL for the Metadata Facelet- Returns:
- true if a cached instance exists, false otherwise
-
init
public final void init(FaceletCache.InstanceFactory<V> faceletFactory, FaceletCache.InstanceFactory<V> metafaceletFactory)Deprecated.Initializes this cache instance.- Parameters:
faceletFactory
-InstanceFactory
for creating Facelet instancesmetafaceletFactory
-InstanceFactory
for creating Metadata Facelet instances
-
getFaceletInstanceFactory
Deprecated.Retrieves InstanceFactory for creating Facelets- Returns:
- factory for creating Facelets
-
getMetadataFaceletInstanceFactory
Deprecated.Retrieves InstanceFactory for creating Metadata Facelets- Returns:
- factory for creating MetadataFacelets
-