Package org.eclipse.net4j.util.lifecycle
Interface ILifecycle
- 
- All Superinterfaces:
- IDeactivateable,- INotifier
 - All Known Subinterfaces:
- IManagedContainer,- IPluginContainer
 - All Known Implementing Classes:
- Cache,- CacheMonitor,- ChallengeNegotiator,- ChallengeResponseNegotiator,- Container,- DelegableReentrantLock,- DelegatingRegistry,- ExecutorWorkSerializer,- FileUserManager,- FiniteStateMachine,- HashMapDelegatingRegistry,- HashMapRegistry,- HashMapRegistry.AutoCommit,- Lifecycle,- LifecycleHook,- ManagedContainer,- Negotiator,- PriorityQueueRunner,- QueueRunner,- QueueRunner2,- QueueWorker,- QueueWorkerWorkSerializer,- Randomizer,- ReferenceMonitor,- ReferenceQueueWorker,- Registry,- ResponseNegotiator,- RollingLog,- RWLockManager,- RWOLockManager,- SerializingExecutor,- SetContainer,- ShareableLifecycle,- TimerLifecycle,- UIQueueRunner,- UserManager,- UserManagerAuthenticator,- Worker
 
 public interface ILifecycle extends IDeactivateable, INotifier An entity that has a well-definedlifecycleand can beactivatedordeactivated.A lifecycle can fire the following events: -  ILifecycleEventbefore and after thestateof this lifecycle changes.
 - Author:
- Eike Stepper
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceILifecycle.DeferrableActivationA mix-in interface forlifecycleswith deferrable activation.- 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifierINotifier.INotifier2
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidactivate()java.lang.Exceptiondeactivate()LifecycleStategetLifecycleState()booleanisActive()- 
Methods inherited from interface org.eclipse.net4j.util.event.INotifieraddListener, getListeners, hasListeners, removeListener
 
- 
 
- 
- 
- 
Method Detail- 
activatevoid activate() throws LifecycleException- Throws:
- LifecycleException
 
 - 
deactivatejava.lang.Exception deactivate() - Specified by:
- deactivatein interface- IDeactivateable
 
 - 
getLifecycleStateLifecycleState getLifecycleState() - Since:
- 3.0
 
 - 
isActiveboolean isActive() - Since:
- 3.0
 
 
- 
 
-