Package org.eclipse.net4j.util.lifecycle
Klasse Lifecycle
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.lifecycle.Lifecycle
- Alle implementierten Schnittstellen:
INotifier,INotifier.INotifier2,IDeactivateable,ILifecycle,ILifecycle.DeferrableActivation
- Bekannte direkte Unterklassen:
ExecutorWorkSerializer,FiniteStateMachine,LifecycleHook,ManagedContainer,Randomizer,RWLockManager,RWOLockManager,SerializingExecutor,ShareableLifecycle,UserManager,UserManagerAuthenticator,Worker
A default implementation of an entity with a
lifecycle.- Autor:
- Eike Stepper
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.lifecycle.ILifecycle
ILifecycle.DeferrableActivationVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.INotifier
INotifier.INotifier2 -
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal voidactivate()protected final voidprotected final voidprotected final voidprotected final voidprotected final voidprotected final voidcheckState(boolean expr, String msg) protected final voidcheckState(Object handle, String handleName) final Exceptionprotected final voiddeferredActivate(boolean successful) protected voidprotected voidprotected voidprotected voidprotected voidprotected final voiddump()final LifecycleStatefinal booleanisActive()booleantoString()Von Klasse geerbte Methoden org.eclipse.net4j.util.event.Notifier
addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListenerVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Felddetails
-
USE_LABEL
public static boolean USE_LABEL
-
-
Konstruktordetails
-
Lifecycle
public Lifecycle()- Seit:
- 2.0
-
-
Methodendetails
-
activate
- Angegeben von:
activatein SchnittstelleILifecycle- Löst aus:
LifecycleException
-
deactivate
- Angegeben von:
deactivatein SchnittstelleIDeactivateable- Angegeben von:
deactivatein SchnittstelleILifecycle
-
getLifecycleState
- Angegeben von:
getLifecycleStatein SchnittstelleILifecycle- Seit:
- 3.0
-
isActive
public final boolean isActive()- Angegeben von:
isActivein SchnittstelleILifecycle
-
toString
-
dump
protected final void dump() -
checkActive
protected final void checkActive() -
checkInactive
protected final void checkInactive() -
checkNull
- Löst aus:
NullPointerException
-
checkArg
- Löst aus:
IllegalArgumentException
-
checkArg
- Löst aus:
IllegalArgumentException
-
checkState
- Löst aus:
IllegalStateException
-
checkState
- Löst aus:
IllegalStateException
-
deferredActivate
protected final void deferredActivate(boolean successful) - Seit:
- 2.0
-
isDeferredActivation
public boolean isDeferredActivation()- Angegeben von:
isDeferredActivationin SchnittstelleILifecycle.DeferrableActivation- Seit:
- 3.2
-
doBeforeActivate
- Löst aus:
Exception
-
doActivate
- Löst aus:
Exception
-
doAfterActivate
- Löst aus:
Exception- Seit:
- 3.0
-
doBeforeDeactivate
- Löst aus:
Exception
-
doDeactivate
- Löst aus:
Exception
-