|
JSR-927 (Maintenance Release) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is implemented by application classes to receive the
results of asynchronous SI retrieval requests. The
SIRequestor
registers itself at the time of the
asynchronous call for a single request and is automatically
unregistered when the request is completed. Applications can
disambiguate retrieval operations by registering a unique
SIRequestor
for each retrieval request.
The asynchronous SI retrieval mechanisms invoke the methods of this interface using system threads that are guaranteed to not hold locks on application objects.
Method Summary | |
void |
notifyFailure(SIRequestFailureType reason)
Notifies the SIRequestor of unsuccessful asynchronous
SI retrieval. |
void |
notifySuccess(SIRetrievable[] result)
Notifies the SIRequestor of successful asynchronous
SI retrieval. |
Method Detail |
public void notifySuccess(SIRetrievable[] result)
SIRequestor
of successful asynchronous
SI retrieval.
result
- The previously requested data.public void notifyFailure(SIRequestFailureType reason)
SIRequestor
of unsuccessful asynchronous
SI retrieval.
reason
- The reason why the asynchronous request failed.
|
JSR-927 (Maintenance Release) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |