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 java.lang.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 java.util.Map properties
connstring
protected java.lang.String connstring
driver
protected java.lang.String driver
username
protected java.lang.String username
password
protected java.lang.String password
AbstractConnectionFactory
public AbstractConnectionFactory(java.util.Map properties)
requestConnection
public abstract java.sql.Connection requestConnection()
throws java.sql.SQLException
- Description copied from interface:
ConnectionFactoryIF
- INTERNAL: Requests a new connection object.
- Specified by:
requestConnection
in interface ConnectionFactoryIF
- Throws:
java.sql.SQLException
close
public void close()
- Description copied from interface:
ConnectionFactoryIF
- INTERNAL: Closes the connection factory.
- Specified by:
close
in interface ConnectionFactoryIF
getConnectionString
protected java.lang.String getConnectionString()
getDriver
protected java.lang.String getDriver()
getUserName
protected java.lang.String getUserName()
getPassword
protected java.lang.String getPassword()
Copyright © 2000-2012 Ontopia.