
public interface ILifecycle extends INotifier
lifecycle and can be activated or
deactivated.
A lifecycle can fire the following events:
ILifecycleEvent before and after the state of this lifecycle changes.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ILifecycle.DeferrableActivation
A mix-in interface for
lifecycles with deferrable activation. |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
Exception |
deactivate() |
LifecycleState |
getLifecycleState() |
boolean |
isActive() |
addListener, getListeners, hasListeners, removeListenervoid activate()
throws LifecycleException
LifecycleExceptionException deactivate()
LifecycleState getLifecycleState()
boolean isActive()
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.