Class ConnectionBundlePoolBean

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkinBundle​(ConnectionBundle bndl)  
      ConnectionBundle checkoutBundle()  
      void close()
      forces the release of any resources that might be associated with this object.
      void init​(java.lang.String jdbcUrl, java.lang.String username, java.lang.String pwd, int start, int max, int inc)  
      void init​(java.lang.String jdbcDriverClass, java.lang.String jdbcUrl, java.lang.String username, java.lang.String pwd, int start, int max, int inc)  
      protected void setConnectionOptions​(java.sql.Connection con)  
      • Methods inherited from class java.lang.Object

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

      • ConnectionBundlePoolBean

        public ConnectionBundlePoolBean()
    • Method Detail

      • init

        public void init​(java.lang.String jdbcDriverClass,
                         java.lang.String jdbcUrl,
                         java.lang.String username,
                         java.lang.String pwd,
                         int start,
                         int max,
                         int inc)
                  throws java.sql.SQLException,
                         java.lang.ClassNotFoundException
        Throws:
        java.sql.SQLException
        java.lang.ClassNotFoundException
      • init

        public void init​(java.lang.String jdbcUrl,
                         java.lang.String username,
                         java.lang.String pwd,
                         int start,
                         int max,
                         int inc)
                  throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • close

        public void close()
                   throws java.sql.SQLException
        Description copied from interface: ClosableResource
        forces the release of any resources that might be associated with this object.
        Specified by:
        close in interface ClosableResource
        Specified by:
        close in interface ConnectionBundlePool
        Throws:
        java.sql.SQLException
      • setConnectionOptions

        protected void setConnectionOptions​(java.sql.Connection con)
                                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException