< prev index next >

src/java.sql/share/classes/javax/sql/ConnectionPoolDataSource.java

Print this page
rev 60127 : 8249205: Remove unnecessary trademark symbols


  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package javax.sql;
  27 
  28 import java.sql.SQLException;
  29 import java.sql.SQLFeatureNotSupportedException;
  30 
  31 
  32 /**
  33  * A factory for <code>PooledConnection</code>
  34  * objects.  An object that implements this interface will typically be
  35  * registered with a naming service that is based on the
  36  * Java&trade; Naming and Directory Interface
  37  * (JNDI).
  38  *
  39  * @since 1.4
  40  */
  41 
  42 public interface ConnectionPoolDataSource  extends CommonDataSource {
  43 
  44   /**
  45    * Attempts to establish a physical database connection that can
  46    * be used as a pooled connection.
  47    *
  48    * @return  a <code>PooledConnection</code> object that is a physical
  49    *         connection to the database that this
  50    *         <code>ConnectionPoolDataSource</code> object represents
  51    * @exception SQLException if a database access error occurs
  52    * @exception java.sql.SQLFeatureNotSupportedException if the JDBC driver does not support
  53    * this method
  54    * @since 1.4
  55    */
  56   PooledConnection getPooledConnection() throws SQLException;




  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package javax.sql;
  27 
  28 import java.sql.SQLException;
  29 import java.sql.SQLFeatureNotSupportedException;
  30 
  31 
  32 /**
  33  * A factory for <code>PooledConnection</code>
  34  * objects.  An object that implements this interface will typically be
  35  * registered with a naming service that is based on the
  36  * Java Naming and Directory Interface
  37  * (JNDI).
  38  *
  39  * @since 1.4
  40  */
  41 
  42 public interface ConnectionPoolDataSource  extends CommonDataSource {
  43 
  44   /**
  45    * Attempts to establish a physical database connection that can
  46    * be used as a pooled connection.
  47    *
  48    * @return  a <code>PooledConnection</code> object that is a physical
  49    *         connection to the database that this
  50    *         <code>ConnectionPoolDataSource</code> object represents
  51    * @exception SQLException if a database access error occurs
  52    * @exception java.sql.SQLFeatureNotSupportedException if the JDBC driver does not support
  53    * this method
  54    * @since 1.4
  55    */
  56   PooledConnection getPooledConnection() throws SQLException;


< prev index next >