Interface FaceletCache.MemberFactory<V>

  • Enclosing class:
    FaceletCache<V>

    public static interface FaceletCache.MemberFactory<V>

    Factory interface for creating Facelet or View Metadata Facelet instances.

    • Method Detail

      • newInstance

        V newInstance​(URL key)
               throws IOException

        Create a Facelet or View Metadata Facelet (depending on the type of factory this is) for the argument URL.

        Parameters:
        key - the URL that will be used as the key for the instance being created.
        Returns:
        the newly created Facelet or View Metadata Facelet
        Throws:
        NullPointerException - if argument key is null.
        IOException - if unable to load a file necessary to respond to service this method.