Interface NodeFactory

    • Method Detail

      • getInstance

        Object getInstance​(String uuid,
                           Class targetClass)
        Creates an instance of the specified class, with the specified id.
        Parameters:
        uuid - The identifier for the new instance.
        targetClass - The type of the new instance
        Returns:
        The new instance of the specified type, with the specified id.
      • getInstance

        Object getInstance​(javax.jcr.Node node,
                           Class targetClass)
        Creates an instance of the specified class.
        Parameters:
        node - the node that should be given to the constructor
        targetClass - The type of the new instance
        Returns:
        The new instance of the specified type