From 3f7ddbf313aaabbfba4650cb2036cb41e51a9bde Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Thu, 18 Apr 2013 11:37:28 +0000
Subject: [PATCH] Fix OPENDJ-838: Add ConnectionFactory.close() method to facilitate resource cleanup after application exit
---
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/ConnectionPool.java | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/ConnectionPool.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/ConnectionPool.java
index 98e574e..d9fc7f1 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/ConnectionPool.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/ConnectionPool.java
@@ -21,13 +21,11 @@
* CDDL HEADER END
*
*
- * Copyright 2011-2012 ForgeRock AS
+ * Copyright 2011-2013 ForgeRock AS
*/
package org.forgerock.opendj.ldap;
-import java.io.Closeable;
-
/**
* A connection factory which maintains and re-uses a pool of connections.
* Connections obtained from a connection pool are returned to the connection
@@ -41,7 +39,7 @@
* Since pooled connections are re-used, applications must use operations such
* as binds and StartTLS with extreme caution.
*/
-public interface ConnectionPool extends ConnectionFactory, Closeable {
+public interface ConnectionPool extends ConnectionFactory {
/**
* Releases any resources associated with this connection pool. Pooled
* connections will be permanently closed and this connection pool will no
--
Gitblit v1.10.0