org.apache.manifoldcf.crawler.connectors.jdbc
Class JDBCConnectionFactory
java.lang.Object
org.apache.manifoldcf.crawler.connectors.jdbc.JDBCConnectionFactory
public class JDBCConnectionFactory
- extends java.lang.Object
This class creates a connection
|
Field Summary |
static java.lang.String |
_rcsid
|
|
Method Summary |
static java.sql.Connection |
getConnection(java.lang.String providerName,
java.lang.String host,
java.lang.String database,
java.lang.String userName,
java.lang.String password)
|
static void |
releaseConnection(java.sql.Connection c)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
getConnection
public static java.sql.Connection getConnection(java.lang.String providerName,
java.lang.String host,
java.lang.String database,
java.lang.String userName,
java.lang.String password)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
org.apache.manifoldcf.agents.interfaces.ServiceInterruption
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.agents.interfaces.ServiceInterruption
releaseConnection
public static void releaseConnection(java.sql.Connection c)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
org.apache.manifoldcf.agents.interfaces.ServiceInterruption
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.agents.interfaces.ServiceInterruption