Package org.apache.manifoldcf.jdbc
Class JDBCConnectionFactory
- java.lang.Object
-
- org.apache.manifoldcf.jdbc.JDBCConnectionFactory
-
public class JDBCConnectionFactory extends java.lang.Object
This class creates a connection
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_rcsid
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.manifoldcf.core.jdbcpool.WrappedConnection
getConnection(java.lang.String providerName, java.lang.String jdbcDriverString, java.lang.String userName, java.lang.String password)
static java.lang.String
getJDBCDriverString(java.lang.String providerName, java.lang.String host, java.lang.String database, java.lang.String rawDriverString)
Convert various connection parameters to a JDBC connection string, used in conjunction with the provider name.static void
releaseConnection(org.apache.manifoldcf.core.jdbcpool.WrappedConnection c)
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
-
Method Detail
-
getJDBCDriverString
public static java.lang.String getJDBCDriverString(java.lang.String providerName, java.lang.String host, java.lang.String database, java.lang.String rawDriverString)
Convert various connection parameters to a JDBC connection string, used in conjunction with the provider name.
-
getConnection
public static org.apache.manifoldcf.core.jdbcpool.WrappedConnection getConnection(java.lang.String providerName, java.lang.String jdbcDriverString, 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(org.apache.manifoldcf.core.jdbcpool.WrappedConnection c)
-
-