public class LifecycleHook<T extends ILifecycle> extends Lifecycle
ILifecycle.DeferrableActivation| Constructor and Description |
|---|
LifecycleHook() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
delegateAboutToActivate(T delegate) |
protected void |
delegateAboutToDeactivate(T delegate) |
protected void |
delegateActivated(T delegate) |
protected void |
delegateChanged(T oldDelegate,
T newDelegate) |
protected void |
delegateDeactivated(T delegate) |
protected void |
delegateEvent(T delegate,
IEvent event) |
protected void |
doActivate() |
protected void |
doDeactivate() |
protected T |
getDelegate() |
protected void |
hookDelegate(T delegate) |
protected boolean |
hookInactiveDelegates() |
protected void |
setDelegate(T delegate) |
protected void |
unhookDelegate(T delegate) |
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doAfterActivate, doBeforeActivate, doBeforeDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, toStringaddListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, getListeners, hasListeners, removeListenerprotected final T getDelegate()
protected final void setDelegate(T delegate)
protected void delegateAboutToActivate(T delegate)
protected void delegateActivated(T delegate)
protected void delegateAboutToDeactivate(T delegate)
protected void delegateDeactivated(T delegate)
protected void doActivate()
throws java.lang.Exception
doActivate in class Lifecyclejava.lang.Exceptionprotected void doDeactivate()
throws java.lang.Exception
doDeactivate in class Lifecyclejava.lang.Exceptionprotected void hookDelegate(T delegate)
protected void unhookDelegate(T delegate)
protected boolean hookInactiveDelegates()
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