net.ontopia.persistence.proxy
Class AbstractConnectionFactory
java.lang.Object
net.ontopia.persistence.proxy.AbstractConnectionFactory
- All Implemented Interfaces:
- ConnectionFactoryIF
- Direct Known Subclasses:
- DBCPConnectionFactory, DefaultConnectionFactory
public abstract class AbstractConnectionFactory
- extends Object
- implements ConnectionFactoryIF
INTERNAL: Abstract connection factory implementation that holds
common connection properties. Used by a couple of other connection
factory implementations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
properties
protected Map properties
connstring
protected String connstring
driver
protected String driver
username
protected String username
password
protected String password
AbstractConnectionFactory
public AbstractConnectionFactory(Map properties)
requestConnection
public abstract Connection requestConnection()
throws SQLException
- Description copied from interface:
ConnectionFactoryIF
- INTERNAL: Requests a new connection object.
- Specified by:
requestConnection
in interface ConnectionFactoryIF
- Throws:
SQLException
close
public void close()
- Description copied from interface:
ConnectionFactoryIF
- INTERNAL: Closes the connection factory.
- Specified by:
close
in interface ConnectionFactoryIF
getConnectionString
protected String getConnectionString()
getDriver
protected String getDriver()
getUserName
protected String getUserName()
getPassword
protected String getPassword()
Copyright © 2000-2012 Ontopia.