Package org.eclipse.net4j.util.lifecycle
A framework for components with a simple lifecycle.
Interfaces that describe the behavior of objects with respect to their lifecycle.
A utility class to interact with such objects and an abstract class that can be
used to implement such objects are provided as well.
-
Interface Summary Interface Description IDeactivateable ILifecycle ILifecycle.DeferrableActivation A mix-in interface forlifecycles
with deferrable activation.ILifecycleEvent -
Class Summary Class Description Lifecycle A default implementation of an entity with alifecycle
.LifecycleEvent A default implementation of a lifecycleevent
.LifecycleEventAdapter LifecycleHook<T extends ILifecycle> LifecycleUtil Various static helper methods for dealing withlifecycles
.LifecycleUtil.Delegator<T> ShareableLifecycle -
Enum Summary Enum Description ILifecycleEvent.Kind Enumerates the possiblelifecycle state
changes of an entity.LifecycleState Enumerates the possible lifecycle states of an entity with alifecycle
. -
Exception Summary Exception Description LifecycleException An unchecked wrapper exception for checked exceptions being thrown fromLifecycle.doActivate()
. -
Annotation Types Summary Annotation Type Description LifecycleUtil.Activator Annotates a method of a POJO class that's supposed to be called to activate a POJO object duringLifecycleUtil.activate(Object)
.LifecycleUtil.Deactivator Annotates a method of a POJO class that's supposed to be called to deactivate a POJO object duringLifecycleUtil.deactivate(Object)
.