public interface ILifecycle extends IDeactivateable, 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.
LifecycleState
ILifecycleEvent
- - firesModifier 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, removeListener
void activate() throws LifecycleException
LifecycleException
Exception deactivate()
deactivate
in interface IDeactivateable
LifecycleState getLifecycleState()
boolean isActive()
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html