Class ObservableLifeCycleRequestAutomatonImpl

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.refcodes.component.Destroyable

        org.refcodes.component.Destroyable.DestroyAutomaton
      • Nested classes/interfaces inherited from interface org.refcodes.component.Initializable

        org.refcodes.component.Initializable.InitializeAutomaton, org.refcodes.component.Initializable.InitializeBuilder<B extends org.refcodes.component.Initializable.InitializeBuilder<B>>, org.refcodes.component.Initializable.UncheckedInitializable
      • Nested classes/interfaces inherited from interface org.refcodes.component.InitializedAccessor

        org.refcodes.component.InitializedAccessor.InitializedMutator, org.refcodes.component.InitializedAccessor.InitializedProperty
      • Nested classes/interfaces inherited from class org.refcodes.component.LifeCycleAutomatonImpl

        org.refcodes.component.LifeCycleAutomatonImpl.ManualLifeCycleAutomatonImpl
      • Nested classes/interfaces inherited from interface org.refcodes.component.LifeCycleComponent

        org.refcodes.component.LifeCycleComponent.LifeCycleAutomaton, org.refcodes.component.LifeCycleComponent.UncheckedLifeCycleComponent
      • Nested classes/interfaces inherited from interface org.refcodes.component.LifeCycleStatusAccessor

        org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusBuilder<B extends org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusBuilder<B>>, org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusMutator, org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusProperty
      • Nested classes/interfaces inherited from interface org.refcodes.component.Pausable

        org.refcodes.component.Pausable.PauseAutomaton, org.refcodes.component.Pausable.PauseBuilder<B extends org.refcodes.component.Pausable.PauseBuilder<B>>, org.refcodes.component.Pausable.UncheckedPausable
      • Nested classes/interfaces inherited from interface org.refcodes.component.Resumable

        org.refcodes.component.Resumable.ResumeAutomaton, org.refcodes.component.Resumable.ResumeBuilder<B extends org.refcodes.component.Resumable.ResumeBuilder<B>>, org.refcodes.component.Resumable.UncheckedResumable
      • Nested classes/interfaces inherited from interface org.refcodes.component.RunningAccessor

        org.refcodes.component.RunningAccessor.RunningMutator, org.refcodes.component.RunningAccessor.RunningProperty
      • Nested classes/interfaces inherited from interface org.refcodes.component.Startable

        org.refcodes.component.Startable.StartAutomaton, org.refcodes.component.Startable.StartBuilder<B extends org.refcodes.component.Startable.StartBuilder<B>>, org.refcodes.component.Startable.UncheckedStartable
      • Nested classes/interfaces inherited from interface org.refcodes.component.Stoppable

        org.refcodes.component.Stoppable.StopAutomaton, org.refcodes.component.Stoppable.StopBuilder<B extends org.refcodes.component.Stoppable.StopBuilder<B>>, org.refcodes.component.Stoppable.UncheckedStoppable
    • Field Summary

      • Fields inherited from interface org.refcodes.mixin.Loggable

        RUNTIME_LOGGER_CLASS, RUNTIME_LOGGER_FACTORY_CLASS, RUNTIME_LOGGER_FACTORY_METHOD
    • Constructor Detail

      • ObservableLifeCycleRequestAutomatonImpl

        public ObservableLifeCycleRequestAutomatonImpl​()
        Instantiates a new observable life cycle request automaton impl.
      • ObservableLifeCycleRequestAutomatonImpl

        public ObservableLifeCycleRequestAutomatonImpl​(Object aSource)
        Parameters:
        aSource - The source instance to be used when firing events in case the source is to be different from this class' instance.
      • ObservableLifeCycleRequestAutomatonImpl

        public ObservableLifeCycleRequestAutomatonImpl​(org.refcodes.mixin.EventMetaData aEventMetaData)
        Parameters:
        aEventMetaData - The EventMetaData to be used when firing events in case the EventMetaData is to be different from the auto-generated EventMetaData.
      • ObservableLifeCycleRequestAutomatonImpl

        public ObservableLifeCycleRequestAutomatonImpl​(org.refcodes.mixin.EventMetaData aEventMetaData,
                                                       Object aSource)
        Parameters:
        aSource - The source instance to be used when firing events in case the source is to be different from this class' instance.
        aEventMetaData - The EventMetaData to be used when firing events in case the EventMetaData is to be different from the auto-generated EventMetaData.
      • ObservableLifeCycleRequestAutomatonImpl

        public ObservableLifeCycleRequestAutomatonImpl​(org.refcodes.component.LifeCycleComponent aLifeCycleComponent)
        Parameters:
        aLifeCycleComponent - The LifeCycleComponent to which the life-cycle method calls are to be delegated to.
      • ObservableLifeCycleRequestAutomatonImpl

        public ObservableLifeCycleRequestAutomatonImpl​(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
                                                       Object aSource)
        Parameters:
        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.
      • ObservableLifeCycleRequestAutomatonImpl

        public ObservableLifeCycleRequestAutomatonImpl​(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
                                                       org.refcodes.mixin.EventMetaData aEventMetaData)
        Parameters:
        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.
      • ObservableLifeCycleRequestAutomatonImpl

        public ObservableLifeCycleRequestAutomatonImpl​(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
                                                       org.refcodes.mixin.EventMetaData aEventMetaData,
                                                       Object aSource)
        Parameters:
        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.
      • ObservableLifeCycleRequestAutomatonImpl

        public ObservableLifeCycleRequestAutomatonImpl​(ExecutorService aExecutorService,
                                                       org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
        Parameters:
        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).
      • ObservableLifeCycleRequestAutomatonImpl

        public ObservableLifeCycleRequestAutomatonImpl​(Object aSource,
                                                       ExecutorService aExecutorService,
                                                       org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
        Parameters:
        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).
      • ObservableLifeCycleRequestAutomatonImpl

        public ObservableLifeCycleRequestAutomatonImpl​(org.refcodes.mixin.EventMetaData aEventMetaData,
                                                       ExecutorService aExecutorService,
                                                       org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
        Parameters:
        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).
      • ObservableLifeCycleRequestAutomatonImpl

        public ObservableLifeCycleRequestAutomatonImpl​(org.refcodes.mixin.EventMetaData aEventMetaData,
                                                       Object aSource,
                                                       ExecutorService aExecutorService,
                                                       org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
        Parameters:
        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).
      • ObservableLifeCycleRequestAutomatonImpl

        public ObservableLifeCycleRequestAutomatonImpl​(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
                                                       ExecutorService aExecutorService,
                                                       org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
        Parameters:
        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).
      • ObservableLifeCycleRequestAutomatonImpl

        public ObservableLifeCycleRequestAutomatonImpl​(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
                                                       Object aSource,
                                                       ExecutorService aExecutorService,
                                                       org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
        Parameters:
        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).
      • ObservableLifeCycleRequestAutomatonImpl

        public ObservableLifeCycleRequestAutomatonImpl​(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
                                                       org.refcodes.mixin.EventMetaData aEventMetaData,
                                                       ExecutorService aExecutorService,
                                                       org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
        Parameters:
        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).
      • ObservableLifeCycleRequestAutomatonImpl

        public ObservableLifeCycleRequestAutomatonImpl​(org.refcodes.component.LifeCycleComponent aLifeCycleComponent,
                                                       org.refcodes.mixin.EventMetaData aEventMetaData,
                                                       Object aSource,
                                                       ExecutorService aExecutorService,
                                                       org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
        Parameters:
        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).
    • Method Detail

      • initialize

        public void initialize​()
                        throws org.refcodes.component.InitializeException
        Overrides:
        initialize in class org.refcodes.component.LifeCycleAutomatonImpl
        Throws:
        org.refcodes.component.InitializeException
      • start

        public void start​()
                   throws org.refcodes.component.StartException
        Overrides:
        start in class org.refcodes.component.LifeCycleAutomatonImpl
        Throws:
        org.refcodes.component.StartException
      • pause

        public void pause​()
                   throws org.refcodes.component.PauseException
        Overrides:
        pause in class org.refcodes.component.LifeCycleAutomatonImpl
        Throws:
        org.refcodes.component.PauseException
      • resume

        public void resume​()
                    throws org.refcodes.component.ResumeException
        Overrides:
        resume in class org.refcodes.component.LifeCycleAutomatonImpl
        Throws:
        org.refcodes.component.ResumeException
      • stop

        public void stop​()
                  throws org.refcodes.component.StopException
        Overrides:
        stop in class org.refcodes.component.LifeCycleAutomatonImpl
        Throws:
        org.refcodes.component.StopException
      • destroy

        public void destroy​()
        Overrides:
        destroy in class org.refcodes.component.LifeCycleAutomatonImpl