| java.lang.Object com.hp.hpl.jena.assembler.ConnectionDescription
ConnectionDescription | public class ConnectionDescription (Code) | | A ConnectionDescription holds the information required to construct an
IDBConnection, and can construct that connection on demand.
author: kers |
ConnectionDescription | public ConnectionDescription(String subject, String dbURL, String dbUser, String dbPassword, String dbType)(Code) | | Initialise a description from the given arguments.
Parameters: subject - the URI of the subject node from which this description is created Parameters: dbURL - the URL of the database to connect to Parameters: dbUser - the name of the user authorising the connection Parameters: dbPassword - the password of that user Parameters: dbType - the type of the database |
getConnection | public IDBConnection getConnection()(Code) | | Answer the connection specified by the description. Once created, that same
connection is returned for each call to getConnection.
|
toString | public String toString()(Code) | | Answer a descriptive string for this connection object, including whether or
not it has already had its connection opened.
See Also: java.lang.Object.toString |
|
|