Class TomcatConnectionPoolFactory.TomcatConnectionPool

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) org.apache.tomcat.jdbc.pool.DataSource dataSource  
    • Constructor Summary

      Constructors 
      Constructor Description
      TomcatConnectionPool​(org.apache.tomcat.jdbc.pool.DataSource ds)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Method to call when closing the StoreManager down, and consequently to close the pool.
      javax.sql.DataSource getDataSource()
      Accessor for the pooled DataSource.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • dataSource

        final org.apache.tomcat.jdbc.pool.DataSource dataSource
    • Constructor Detail

      • TomcatConnectionPool

        public TomcatConnectionPool​(org.apache.tomcat.jdbc.pool.DataSource ds)
    • Method Detail

      • close

        public void close()
        Description copied from interface: ConnectionPool
        Method to call when closing the StoreManager down, and consequently to close the pool.
        Specified by:
        close in interface ConnectionPool
      • getDataSource

        public javax.sql.DataSource getDataSource()
        Description copied from interface: ConnectionPool
        Accessor for the pooled DataSource.
        Specified by:
        getDataSource in interface ConnectionPool
        Returns:
        The DataSource