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.
| 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() |
java.lang.Exception |
deactivate() |
LifecycleState |
getLifecycleState() |
boolean |
isActive() |
addListener, getListeners, hasListeners, removeListenervoid activate()
throws LifecycleException
LifecycleExceptionjava.lang.Exception deactivate()
deactivate in interface IDeactivateableLifecycleState getLifecycleState()
boolean isActive()
Copyright (c) 2004-2019 Eike Stepper (Loehne, 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