All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.refcodes.component.LifeCycleComponentHandle Maven / Gradle / Ivy

package org.refcodes.component;

/**
 * The {@link LifeCycleComponentHandle} manages various {@link LifeCycleStatus}
 * states for {@link LifeCycleComponent} instances each related to a handle.
 * Operations manipulating on the {@link LifeCycleStatus} are invoked by this
 * {@link LifeCycleComponentHandle} with a handle identifying the according
 * referenced {@link LifeCycleComponent}.
 * 

* The {@link LifeCycleComponent} contains the business-logic where as the * {@link LifeCycleComponentHandle} provides the frame for managing this * business-logic. The {@link LifeCycleAutomatonHandle} takes care of the * correct life-cycle applied on a {@link LifeCycleComponent}. * * @param The type of the handles. */ public interface LifeCycleComponentHandle extends InitializableHandle, StartableHandle, PausableHandle, ResumableHandle, StoppableHandle, DestroyableHandle { /** * The {@link LifeCycleAutomatonHandle} is an automaton managing various * {@link LifeCycleStatus} states for {@link Component} instances each * related to a handle. Operations manipulating on the * {@link LifeCycleStatus} are invoked by this * {@link LifeCycleAutomatonHandle} with a handle identifying the according * referenced {@link Component}. * * The {@link LifeCycleComponent} contains the business-logic where as the * {@link LifeCycleAutomatonHandle} provides the frame for managing this * business-logic. The {@link LifeCycleAutomatonHandle} takes care of the * correct life-cycle applied on a {@link LifeCycleComponent}. * * @param The type of the handle. */ public interface LifeCycleAutomatonHandle extends LifeCycleComponentHandle, InitializeAutomatonHandle, StartAutomatonHandle, PauseAutomatonHandle, ResumeAutomatonHandle, StopAutomatonHandle, DestroyAutomatonHandle, LifeCycleStatusHandle {} }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy