Interface Quidem.ConnectionFactory

  • Enclosing class:
    Quidem

    public static interface Quidem.ConnectionFactory
    Creates a connection for a given name.

    It is kind of a directory service.

    Caller must close the connection.

    • Method Detail

      • connect

        Connection connect​(String name,
                           boolean reference)
                    throws Exception
        Creates a connection to the named database or reference database.

        Returns null if the database is not known (except UnsupportedConnectionFactory.

        Parameters:
        name - Name of the database
        reference - Whether we require a real connection or a reference connection
        Throws:
        Exception