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

Gaetan Boismal
19.46.2014 1242f435adb1a716ff5c33e74604e23311bc0b77
refs
author Gaetan Boismal <gaetan.boismal@forgerock.com>
Friday, September 19, 2014 09:46 +0200
committer Gaetan Boismal <gaetan.boismal@forgerock.com>
Friday, September 19, 2014 09:46 +0200
commit1242f435adb1a716ff5c33e74604e23311bc0b77
tree b1fd582642e67deec479593c96077cf2b23c7a1b tree | zip | gz
parent 474b41764f7f5ebcb021dd1445af8735977e1cab view | diff
OPENDJ-1566 (CR-4587) Migrate core code from FutureResult to Promise

Minor changes in the opendj3 core server are:

* ConfigurationHandler.java
** As the SearchResultHandler, ConfigSearchResultHandler does not implements ResultHandler anymore.

* CollectClientConnectionsFilter.java
** Remove the DoBindResultHandler and use Promise chaining to complete the doFilter() method

* HttpClientConnection.java
** Change the OperationWithFutureResult class to use a FutureResultImpl instead of old AsynchronousFutureResult implementation.
** Add a SearchOperationWithFutureResultClass to handle a reference on the SearchResultHandler of the search operation.
** Create a new appSearchOperationInProgress method to handle the special case of a search operation.

* SdkConnectionAdapter.java
** Ensure compatibility with the new AbstractAsynchronousConnection class by removing ResultHandler parameter from all xxxAsync methods.
5 files modified
497 ■■■■■ changed files
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/core/ConfigurationHandler.java 54 ●●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/protocols/http/CollectClientConnectionsFilter.java 158 ●●●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/protocols/http/HTTPClientConnection.java 130 ●●●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/protocols/http/SdkConnectionAdapter.java 154 ●●●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/replication/protocol/ModifyMsg.java 1 ●●●● diff | view | raw | blame | history