Class FaceletCache<V>

java.lang.Object
com.sun.faces.facelets.FaceletCache<V>

@Deprecated
public abstract class FaceletCache<V>
extends Object
Deprecated.
  • Constructor Details

  • Method Details

    • getFacelet

      public abstract V getFacelet​(URL url) throws IOException
      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

      public abstract boolean isFaceletCached​(URL url)
      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

      public abstract V getMetadataFacelet​(URL url) throws IOException
      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

      public abstract boolean isMetadataFaceletCached​(URL url)
      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 instances
      metafaceletFactory - InstanceFactory for creating Metadata Facelet instances
    • getFaceletInstanceFactory

      protected final FaceletCache.InstanceFactory<V> getFaceletInstanceFactory()
      Deprecated.
      Retrieves InstanceFactory for creating Facelets
      Returns:
      factory for creating Facelets
    • getMetadataFaceletInstanceFactory

      protected final FaceletCache.InstanceFactory<V> getMetadataFaceletInstanceFactory()
      Deprecated.
      Retrieves InstanceFactory for creating Metadata Facelets
      Returns:
      factory for creating MetadataFacelets