org.refcodes.component.Destroyable, org.refcodes.component.Destroyable.DestroyAutomaton, ObservableLifeCycleStatusAutomaton, org.refcodes.component.Initializable, org.refcodes.component.Initializable.InitializeAutomaton, org.refcodes.component.InitializedAccessor, org.refcodes.component.LifeCycleComponent, org.refcodes.component.LifeCycleComponent.LifeCycleAutomaton, org.refcodes.component.LifeCycleStatusAccessor, org.refcodes.component.Pausable, org.refcodes.component.Pausable.PauseAutomaton, org.refcodes.component.Resumable, org.refcodes.component.Resumable.ResumeAutomaton, org.refcodes.component.RunningAccessor, org.refcodes.component.Startable, org.refcodes.component.Startable.StartAutomaton, org.refcodes.component.Stoppable, org.refcodes.component.Stoppable.StopAutomaton, org.refcodes.mixin.Loggable, org.refcodes.observer.Observable<LifeCycleStatusObserver>public class ObservableLifeCycleStatusAutomatonImpl extends org.refcodes.component.LifeCycleAutomatonImpl implements ObservableLifeCycleStatusAutomaton, org.refcodes.mixin.Loggable
ObservableLifeCycleStatusAutomaton
interface with the according hook methods for you to create your domain
driven ObservableLifeCycleStatusAutomaton.org.refcodes.component.Destroyable.DestroyAutomatonorg.refcodes.component.Initializable.InitializeAutomaton, org.refcodes.component.Initializable.InitializeBuilder<B extends org.refcodes.component.Initializable.InitializeBuilder<B>>, org.refcodes.component.Initializable.UncheckedInitializableorg.refcodes.component.InitializedAccessor.InitializedMutator, org.refcodes.component.InitializedAccessor.InitializedPropertyorg.refcodes.component.LifeCycleAutomatonImpl.ManualLifeCycleAutomatonImplorg.refcodes.component.LifeCycleComponent.LifeCycleAutomaton, org.refcodes.component.LifeCycleComponent.UncheckedLifeCycleComponentorg.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusBuilder<B extends org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusBuilder<B>>, org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusMutator, org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusPropertyorg.refcodes.component.Pausable.PauseAutomaton, org.refcodes.component.Pausable.PauseBuilder<B extends org.refcodes.component.Pausable.PauseBuilder<B>>, org.refcodes.component.Pausable.UncheckedPausableorg.refcodes.component.Resumable.ResumeAutomaton, org.refcodes.component.Resumable.ResumeBuilder<B extends org.refcodes.component.Resumable.ResumeBuilder<B>>, org.refcodes.component.Resumable.UncheckedResumableorg.refcodes.component.RunningAccessor.RunningMutator, org.refcodes.component.RunningAccessor.RunningProperty| Constructor | Description |
|---|---|
ObservableLifeCycleStatusAutomatonImpl() |
Instantiates a new observable life cycle automaton impl.
|
ObservableLifeCycleStatusAutomatonImpl(Object aSource) |
|
ObservableLifeCycleStatusAutomatonImpl(Object aSource,
ExecutorService aExecutorService,
org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy) |
|
ObservableLifeCycleStatusAutomatonImpl(ExecutorService aExecutorService,
org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy) |
|
ObservableLifeCycleStatusAutomatonImpl(org.refcodes.component.LifeCycleComponent aLifeCycleComponent) |
|
ObservableLifeCycleStatusAutomatonImpl(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
Object aSource) |
|
ObservableLifeCycleStatusAutomatonImpl(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
Object aSource,
ExecutorService aExecutorService,
org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy) |
|
ObservableLifeCycleStatusAutomatonImpl(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
ExecutorService aExecutorService,
org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy) |
|
ObservableLifeCycleStatusAutomatonImpl(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
org.refcodes.observer.EventMetaData aEventMetaData) |
|
ObservableLifeCycleStatusAutomatonImpl(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
org.refcodes.observer.EventMetaData aEventMetaData,
Object aSource) |
|
ObservableLifeCycleStatusAutomatonImpl(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
org.refcodes.observer.EventMetaData aEventMetaData,
Object aSource,
ExecutorService aExecutorService,
org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy) |
|
ObservableLifeCycleStatusAutomatonImpl(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
org.refcodes.observer.EventMetaData aEventMetaData,
ExecutorService aExecutorService,
org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy) |
|
ObservableLifeCycleStatusAutomatonImpl(org.refcodes.observer.EventMetaData aEventMetaData) |
|
ObservableLifeCycleStatusAutomatonImpl(org.refcodes.observer.EventMetaData aEventMetaData,
Object aSource) |
|
ObservableLifeCycleStatusAutomatonImpl(org.refcodes.observer.EventMetaData aEventMetaData,
Object aSource,
ExecutorService aExecutorService,
org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy) |
|
ObservableLifeCycleStatusAutomatonImpl(org.refcodes.observer.EventMetaData aEventMetaData,
ExecutorService aExecutorService,
org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
destroy() |
|
boolean |
hasObserverSubscription(LifeCycleStatusObserver aObserver) |
|
void |
initialize() |
|
void |
pause() |
|
void |
resume() |
|
void |
start() |
|
void |
stop() |
|
boolean |
subscribeObserver(LifeCycleStatusObserver aObserver) |
|
boolean |
unsubscribeObserver(LifeCycleStatusObserver aObserver) |
isDestroyable, isDestroyedisInitalizablegetLifeCycleComponent, getLifeCycleStatus, isDestroyable, isDestroyed, isInitalizable, isInitialized, isPausable, isPaused, isResumable, isRunning, isStartable, isStoppable, isStopped, setLifeCycleStatusalert, alert, critical, critical, debug, error, info, notice, panic, trace, warn, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ObservableLifeCycleStatusAutomatonImpl()
public ObservableLifeCycleStatusAutomatonImpl(Object aSource)
aSource - The source instance to be used when firing events in case
the source is to be different from this class' instance.public ObservableLifeCycleStatusAutomatonImpl(org.refcodes.observer.EventMetaData aEventMetaData)
aEventMetaData - The EventMetaData to be used when firing
events in case the EventMetaData is to be different from
the auto-generated EventMetaData.public ObservableLifeCycleStatusAutomatonImpl(org.refcodes.observer.EventMetaData aEventMetaData,
Object aSource)
aEventMetaData - The EventMetaData to be used when firing
events in case the EventMetaData is to be different from
the auto-generated EventMetaData.aSource - The source instance to be used when firing events in case
the source is to be different from this class' instance.public ObservableLifeCycleStatusAutomatonImpl(org.refcodes.component.LifeCycleComponent aLifeCycleComponent)
aLifeCycleComponent - The LifeCycleComponent to which the
life-cycle method calls are to be delegated to.public ObservableLifeCycleStatusAutomatonImpl(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
Object aSource)
aLifeCycleComponent - The LifeCycleComponent to which the
life-cycle method calls are to be delegated to.aSource - The source instance to be used when firing events in case
the source is to be different from this class' instance.public ObservableLifeCycleStatusAutomatonImpl(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
org.refcodes.observer.EventMetaData aEventMetaData)
aLifeCycleComponent - The LifeCycleComponent to which the
life-cycle method calls are to be delegated to.aEventMetaData - The EventMetaData to be used when firing
events in case the EventMetaData is to be different from
the auto-generated EventMetaData.public ObservableLifeCycleStatusAutomatonImpl(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
org.refcodes.observer.EventMetaData aEventMetaData,
Object aSource)
aLifeCycleComponent - The LifeCycleComponent to which the
life-cycle method calls are to be delegated to.aEventMetaData - The EventMetaData to be used when firing
events in case the EventMetaData is to be different from
the auto-generated EventMetaData.aSource - The source instance to be used when firing events in case
the source is to be different from this class' instance.public ObservableLifeCycleStatusAutomatonImpl(ExecutorService aExecutorService, org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
aExecutorService - The executor service to be used when firing
GenericActionEvent instances in multiple threads (if null
then a default one is used).aExecutionStrategy - The ExecutionStrategy to be used when
firing GenericActionEvent instance (if null then the
default ExecutionStrategy.SEQUENTIAL is used).public ObservableLifeCycleStatusAutomatonImpl(Object aSource, ExecutorService aExecutorService, org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
aSource - The source instance to be used when firing events in case
the source is to be different from this class' instance.aExecutorService - The executor service to be used when firing
GenericActionEvent instances in multiple threads (if null
then a default one is used).aExecutionStrategy - The ExecutionStrategy to be used when
firing GenericActionEvent instance (if null then the
default ExecutionStrategy.SEQUENTIAL is used).public ObservableLifeCycleStatusAutomatonImpl(org.refcodes.observer.EventMetaData aEventMetaData,
ExecutorService aExecutorService,
org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
aEventMetaData - The EventMetaData to be used when firing
events in case the EventMetaData is to be different from
the auto-generated EventMetaData.aExecutorService - The executor service to be used when firing
GenericActionEvent instances in multiple threads (if null
then a default one is used).aExecutionStrategy - The ExecutionStrategy to be used when
firing GenericActionEvent instance (if null then the
default ExecutionStrategy.SEQUENTIAL is used).public ObservableLifeCycleStatusAutomatonImpl(org.refcodes.observer.EventMetaData aEventMetaData,
Object aSource,
ExecutorService aExecutorService,
org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
aEventMetaData - The EventMetaData to be used when firing
events in case the EventMetaData is to be different from
the auto-generated EventMetaData.aSource - The source instance to be used when firing events in case
the source is to be different from this class' instance.aExecutorService - The executor service to be used when firing
GenericActionEvent instances in multiple threads (if null
then a default one is used).aExecutionStrategy - The ExecutionStrategy to be used when
firing GenericActionEvent instance (if null then the
default ExecutionStrategy.SEQUENTIAL is used).public ObservableLifeCycleStatusAutomatonImpl(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
ExecutorService aExecutorService,
org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
aLifeCycleComponent - The LifeCycleComponent to which the
life-cycle method calls are to be delegated to.aExecutorService - The executor service to be used when firing
GenericActionEvent instances in multiple threads (if null
then a default one is used).aExecutionStrategy - The ExecutionStrategy to be used when
firing GenericActionEvent instance (if null then the
default ExecutionStrategy.SEQUENTIAL is used).public ObservableLifeCycleStatusAutomatonImpl(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
Object aSource,
ExecutorService aExecutorService,
org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
aLifeCycleComponent - The LifeCycleComponent to which the
life-cycle method calls are to be delegated to.aSource - The source instance to be used when firing events in case
the source is to be different from this class' instance.aExecutorService - The executor service to be used when firing
GenericActionEvent instances in multiple threads (if null
then a default one is used).aExecutionStrategy - The ExecutionStrategy to be used when
firing GenericActionEvent instance (if null then the
default ExecutionStrategy.SEQUENTIAL is used).public ObservableLifeCycleStatusAutomatonImpl(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
org.refcodes.observer.EventMetaData aEventMetaData,
ExecutorService aExecutorService,
org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
aLifeCycleComponent - The LifeCycleComponent to which the
life-cycle method calls are to be delegated to.aEventMetaData - The EventMetaData to be used when firing
events in case the EventMetaData is to be different from
the auto-generated EventMetaData.aExecutorService - The executor service to be used when firing
GenericActionEvent instances in multiple threads (if null
then a default one is used).aExecutionStrategy - The ExecutionStrategy to be used when
firing GenericActionEvent instance (if null then the
default ExecutionStrategy.SEQUENTIAL is used).public ObservableLifeCycleStatusAutomatonImpl(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
org.refcodes.observer.EventMetaData aEventMetaData,
Object aSource,
ExecutorService aExecutorService,
org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
aLifeCycleComponent - The LifeCycleComponent to which the
life-cycle method calls are to be delegated to.aEventMetaData - The EventMetaData to be used when firing
events in case the EventMetaData is to be different from
the auto-generated EventMetaData.aSource - The source instance to be used when firing events in case
the source is to be different from this class' instance.aExecutorService - The executor service to be used when firing
GenericActionEvent instances in multiple threads (if null
then a default one is used).aExecutionStrategy - The ExecutionStrategy to be used when
firing GenericActionEvent instance (if null then the
default ExecutionStrategy.SEQUENTIAL is used).public boolean hasObserverSubscription(LifeCycleStatusObserver aObserver)
hasObserverSubscription in interface org.refcodes.observer.Observable<LifeCycleStatusObserver>public boolean subscribeObserver(LifeCycleStatusObserver aObserver)
subscribeObserver in interface org.refcodes.observer.Observable<LifeCycleStatusObserver>public boolean unsubscribeObserver(LifeCycleStatusObserver aObserver)
unsubscribeObserver in interface org.refcodes.observer.Observable<LifeCycleStatusObserver>public void initialize()
throws org.refcodes.component.InitializeException
initialize in interface org.refcodes.component.Initializableinitialize in class org.refcodes.component.LifeCycleAutomatonImplorg.refcodes.component.InitializeExceptionpublic void start()
throws org.refcodes.component.StartException
start in interface org.refcodes.component.Startablestart in class org.refcodes.component.LifeCycleAutomatonImplorg.refcodes.component.StartExceptionpublic void pause()
throws org.refcodes.component.PauseException
pause in interface org.refcodes.component.Pausablepause in class org.refcodes.component.LifeCycleAutomatonImplorg.refcodes.component.PauseExceptionpublic void resume()
throws org.refcodes.component.ResumeException
resume in interface org.refcodes.component.Resumableresume in class org.refcodes.component.LifeCycleAutomatonImplorg.refcodes.component.ResumeExceptionpublic void stop()
throws org.refcodes.component.StopException
stop in interface org.refcodes.component.Stoppablestop in class org.refcodes.component.LifeCycleAutomatonImplorg.refcodes.component.StopExceptionpublic void destroy()
destroy in interface org.refcodes.component.Destroyabledestroy in class org.refcodes.component.LifeCycleAutomatonImplCopyright © 2018. All rights reserved.