Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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)