Class NodeFactoryImpl

    • Constructor Detail

      • NodeFactoryImpl

        public NodeFactoryImpl()
    • Method Detail

      • getInstance

        public Object getInstance​(String uuid,
                                  Class targetClass)
        Description copied from interface: NodeFactory
        Creates an instance of the specified class, with the specified id.
        Specified by:
        getInstance in interface NodeFactory
        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

        public Object getInstance​(javax.jcr.Node node,
                                  Class targetClass)
        Description copied from interface: NodeFactory
        Creates an instance of the specified class.
        Specified by:
        getInstance in interface NodeFactory
        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