DestroyableConfigurableLifeCycleComponent.ConfigurableLifeCycleAutomaton<CTX>, LifeCycleComponent.LifeCycleAutomatonConfigurableLifeCycleAutomatonImpl, LifeCycleAutomatonImpl, LifeCycleAutomatonImpl.ManualLifeCycleAutomatonImplpublic static interface Destroyable.DestroyAutomaton extends Destroyable
Destroyable.DestroyAutomaton interface defines those methods related to
the destroy life-cycle.Destroyable.DestroyAutomaton| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isDestroyable() |
Determines whether the component may get destroyed.
|
boolean |
isDestroyed() |
Determines whether the component is destroyed.
|
destroyboolean isDestroyable()
Destroyable.destroy() is possible.boolean isDestroyed()
Component instance's methods
(except the Destroyable.destroy() method) must throw an
IllegalStateException as by definition a once destroyed
Component is in the state of being destroyed which is
irreversible.Copyright © 2018. All rights reserved.