|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILnkContainerRunCompletionChecker
Interface through which a runnable container checks for completion.
This interface is used by runnable containers ILnkRunnableContainer
to check for completion of run requests.
Method Summary | |
---|---|
Object |
getCompletion()
Method queried for run completion data. |
boolean |
isDone()
Method queried for completion of the run. |
Method Detail |
---|
boolean isDone()
This method is invoked to query the completion of the container's run
invocation. The implementation should return true in case the run
loop should return. Upon returning true, the run method will query
for the completion object via getCompletion()
and return
the completion object from the run method.
isDone
in interface IEmxDispatcherRunCompletionChecker
Object getCompletion() throws Exception
getCompletion
in interface IEmxDispatcherRunCompletionChecker
Exception
- Any exception thrown is rethrown by the run method.
This method is queried for completion data after isDone()
returns
true. The object returned or the exception thrown by this method are
returned/thrown by the run method.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |