|
Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory 11g Release 2 (11.1.2.2.0) E38583-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.oud.plugin.DefaultResultHandler<T>
T - the type of result handler wrapped by this class.public class DefaultResultHandler<T extends Result>
This class defines a result handler wrapper that forwards all calls to the provided result handler.
This class is provided for convenience only. Override the appropriate handle...() method to intercept the appropriate result.
| Constructor Summary | |
|---|---|
DefaultResultHandler(ResultHandler resultHandler)Construct a new instance of this class. |
|
| Method Summary | |
|---|---|
void |
handleErrorResult(Result error)Invoked when the operation has failed. |
void |
handleResult(Result result)Invoked when the operation has completed successfully. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.oud.responses.ResultHandler |
|---|
handleErrorResult, handleResult |
| Constructor Detail |
|---|
public DefaultResultHandler(ResultHandler resultHandler)
resultHandler - the handler that will receive all calls defined by the ResultHandler interface.| Method Detail |
|---|
public void handleErrorResult(Result error)
ResultHandlerhandleErrorResult in interface ResultHandlererror - The error result exception indicating why the operation has failed.public void handleResult(Result result)
ResultHandlerhandleResult in interface ResultHandlerresult - The result of the operation.
|
Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory 11g Release 2 (11.1.2.2.0) E38583-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||