public class Lifecycle extends Notifier implements ILifecycle, ILifecycle.DeferrableActivation
lifecycle.ILifecycle.DeferrableActivation| Modifier and Type | Field and Description |
|---|---|
static boolean |
USE_LABEL |
| Constructor and Description |
|---|
Lifecycle() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
protected void |
checkActive() |
protected void |
checkArg(boolean expr,
java.lang.String msg) |
protected void |
checkArg(java.lang.Object handle,
java.lang.String handleName) |
protected void |
checkInactive() |
protected void |
checkNull(java.lang.Object handle,
java.lang.String msg) |
protected void |
checkState(boolean expr,
java.lang.String msg) |
protected void |
checkState(java.lang.Object handle,
java.lang.String handleName) |
java.lang.Exception |
deactivate() |
protected void |
deferredActivate(boolean successful) |
protected void |
doActivate() |
protected void |
doAfterActivate() |
protected void |
doBeforeActivate() |
protected void |
doBeforeDeactivate() |
protected void |
doDeactivate() |
protected void |
dump() |
LifecycleState |
getLifecycleState() |
boolean |
isActive() |
boolean |
isDeferredActivation() |
java.lang.String |
toString() |
addListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, getListeners, hasListeners, removeListenerpublic final void activate()
throws LifecycleException
activate in interface ILifecycleLifecycleExceptionpublic final java.lang.Exception deactivate()
deactivate in interface IDeactivateabledeactivate in interface ILifecyclepublic final LifecycleState getLifecycleState()
getLifecycleState in interface ILifecyclepublic final boolean isActive()
isActive in interface ILifecyclepublic java.lang.String toString()
toString in class java.lang.Objectprotected final void dump()
protected final void checkActive()
protected final void checkInactive()
protected final void checkNull(java.lang.Object handle,
java.lang.String msg)
throws java.lang.NullPointerException
java.lang.NullPointerExceptionprotected final void checkArg(boolean expr,
java.lang.String msg)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionprotected final void checkArg(java.lang.Object handle,
java.lang.String handleName)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionprotected final void checkState(boolean expr,
java.lang.String msg)
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionprotected final void checkState(java.lang.Object handle,
java.lang.String handleName)
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionprotected final void deferredActivate(boolean successful)
public boolean isDeferredActivation()
isDeferredActivation in interface ILifecycle.DeferrableActivationprotected void doBeforeActivate()
throws java.lang.Exception
java.lang.Exceptionprotected void doActivate()
throws java.lang.Exception
java.lang.Exceptionprotected void doAfterActivate()
throws java.lang.Exception
java.lang.Exceptionprotected void doBeforeDeactivate()
throws java.lang.Exception
java.lang.Exceptionprotected void doDeactivate()
throws java.lang.Exception
java.lang.ExceptionCopyright (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