Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory
11g Release 2 (11.1.2.2.0)

E38583-02


oracle.oud.responses
Interface ResultHandler

All Known Subinterfaces:
SearchResultHandler
All Known Implementing Classes:
DefaultResultHandler, DefaultSearchResultHandler

public interface ResultHandler

A completion handler for consuming the result of an Ldap operation.

The handleResult(oracle.oud.responses.Result) method is invoked when the operation completes successfully. The handleErrorResult(oracle.oud.responses.Result) method is invoked if the operation fails.

Implementations of these methods should complete in a timely manner so as to avoid keeping the invoking thread from dispatching to other completion handlers.


Method Summary
 void handleErrorResult(Result error)
          Invoked when the operation has failed.
 void handleResult(Result result)
          Invoked when the operation has completed successfully.

 

Method Detail

handleErrorResult

void handleErrorResult(Result error)
Invoked when the operation has failed.
Parameters:
error - The error result exception indicating why the operation has failed.

handleResult

void handleResult(Result result)
Invoked when the operation has completed successfully.
Parameters:
result - The result of the operation.

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory
11g Release 2 (11.1.2.2.0)

E38583-02


Copyright © 2013, Oracle and/or its affiliates. All rights reserved.