mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
13.13.2011 abc8483bdf6febb3c10ea2bd20083ab389da9e3d
refs
author Matthew Swift <matthew.swift@forgerock.com>
Saturday, August 13, 2011 00:13 +0200
committer Matthew Swift <matthew.swift@forgerock.com>
Saturday, August 13, 2011 00:13 +0200
commitabc8483bdf6febb3c10ea2bd20083ab389da9e3d
tree db854d49fc0cbafd31024bc3d4e11e93fe8f86b4 tree | zip | gz
parent b9fe654bc434c9e151450e86a2d5d0741b590469 view | diff
Fix OPENDJ-177: Make connection pools Closeable

Renamed ConnectionPool -> FixedConnectionPool
Added new interface ConnectionPool which extends Closeable
Renamed Connections.newConnectionPool() to newFixedConnectionPool()
Implemented FixedConnectionPool.close() and added unit tests.
1 files added
6 files modified
1946 ■■■■■ changed files
opendj3/opendj-ldap-sdk-examples/src/main/java/org/forgerock/opendj/examples/proxy/Main.java 4 ●●●● diff | view | raw | blame | history
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/ConnectionPool.java 834 ●●●●● diff | view | raw | blame | history
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/Connections.java 5 ●●●●● diff | view | raw | blame | history
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/FixedConnectionPool.java 944 ●●●●● diff | view | raw | blame | history
opendj3/opendj-ldap-sdk/src/main/resources/org/forgerock/opendj/ldap/core.properties 2 ●●●●● diff | view | raw | blame | history
opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/ConnectionFactoryTestCase.java 139 ●●●●● diff | view | raw | blame | history
opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldap/LDAPListenerTestCase.java 18 ●●●●● diff | view | raw | blame | history