H - The type of the handle.DestroyableHandle<H>CompositeComponentHandle<H,REF>, ConfigurableLifeCycleComponentHandle.ConfigurableLifeCycleAutomatonHandle<H,CTX>, LifeCycleComponentHandle.LifeCycleAutomatonHandle<H>public static interface DestroyableHandle.DestroyAutomatonHandle<H> extends DestroyableHandle<H>
DestroyableHandle.DestroyAutomatonHandle interface defines those methods
related to the handle based destroy life-cycle.
The handle reference requires the Destroyable.DestroyAutomaton interface to
be implemented.DestroyableHandle.DestroyAutomatonHandle<H>| Modifier and Type | Method | Description |
|---|---|---|
boolean |
hasDestroyAutomaton(H aHandle) |
Determines whether the handle reference is destroyable by
implementing the
Destroyable.DestroyAutomaton interface. |
boolean |
isDestroyable(H aHandle) |
Determines whether the component identified by the given handle may
get destroyed.
|
boolean |
isDestroyed(H aHandle) |
Determines whether the component identified by the given handle is
destroyed.
|
destroy, hasDestroyableboolean hasDestroyAutomaton(H aHandle) throws UnknownHandleRuntimeException
Destroyable.DestroyAutomaton interface.aHandle - The handle to test whether the reference provides the
according functionality.UnknownHandleRuntimeException - in case the handle is unknown.boolean isDestroyable(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle - The handle identifying the component.DestroyableHandle.destroy(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.boolean isDestroyed(H aHandle) throws UnknownHandleRuntimeException, UnsupportedHandleOperationRuntimeException
aHandle - The handle identifying the component.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.