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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      V newInstance​(java.net.URL key)
      Create a Facelet or View Metadata Facelet (depending on the type of factory this is) for the argument URL.
    • Method Detail

      • newInstance

        V newInstance​(java.net.URL key)
               throws java.io.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:
        java.lang.NullPointerException - if argument key is null.
        java.io.IOException - if unable to load a file necessary to respond to service this method.