Package net.hydromatic.quidem
Interface Quidem.ConnectionFactory
-
- Enclosing class:
- Quidem
public static interface Quidem.ConnectionFactoryCreates a connection for a given name.It is kind of a directory service.
Caller must close the connection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Connectionconnect(String name, boolean reference)Creates a connection to the named database or reference database.
-
-
-
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 databasereference- Whether we require a real connection or a reference connection- Throws:
Exception
-
-