H - The type of the handle.ResumableHandle<H>, RunningHandle<H>CompositeComponentHandle<H,REF>, ConfigurableLifeCycleComponentHandle.ConfigurableLifeCycleAutomatonHandle<H,CTX>, LifeCycleComponentHandle.LifeCycleAutomatonHandle<H>public static interface ResumableHandle.ResumeAutomatonHandle<H> extends RunningHandle<H>, ResumableHandle<H>
ResumableHandle.ResumeAutomatonHandle interface defines those methods related
to the handle based resume life-cycle.
The handle reference requires the Resumable.ResumeAutomaton interface to be
implemented.ResumableHandle.ResumeAutomatonHandle<H>| Modifier and Type | Method | Description |
|---|---|---|
boolean |
hasResumeAutomaton(H aHandle) |
Determines whether the handle reference is resumable by implementing
the
Resumable.ResumeAutomaton interface. |
boolean |
isResumable(H aHandle) |
Determines whether the component identified by the given handle may
get resumed.
|
hasResumable, resume, resumeUncheckedisRunningboolean hasResumeAutomaton(H aHandle) throws UnknownHandleRuntimeException
Resumable.ResumeAutomaton interface.aHandle - The handle to test whether the reference provides the
according functionality.UnknownHandleRuntimeException - in case the handle is unknown.boolean isResumable(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle - The handle identifying the component.ResumableHandle.resume(Object) is possible.UnknownHandleRuntimeException - in case the given handle is
unknown.UnsupportedHandleOperationRuntimeException - in case the
reference of the handle does not support the requested
operation.Copyright © 2018. All rights reserved.