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

Gaetan Boismal
19.46.2014 4ebf34a195f09e61c461d09b2b730f691921f7a9
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
commit4ebf34a195f09e61c461d09b2b730f691921f7a9
tree 341c332d9a828c1ac17402ec9c106f0902598b46 tree | zip | gz
parent 4af6c0362e528ebab371325232a557a5338a31d8 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
opendj3-server-dev/src/server/org/opends/server/core/ConfigurationHandler.java 54 ●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/protocols/http/CollectClientConnectionsFilter.java 158 ●●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/protocols/http/HTTPClientConnection.java 130 ●●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/protocols/http/SdkConnectionAdapter.java 154 ●●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/replication/protocol/ModifyMsg.java 1 ●●●● diff | view | raw | blame | history