C - The type of the Component supported by the
CompositeComponentImpl.ExtendedCompositeComponentImpl.CTX - the generic typeCON - the generic typepublic static class CompositeComponentImpl.ExtendedCompositeComponentImpl<C extends Component,CTX,CON> extends CompositeComponentImpl<C> implements CompositeComponent.ExtendedCompositeComponent<CTX,CON>
CompositeComponentImpl.ExtendedCompositeComponentImpl is an implementation of the
ExtendedCompositeComponent. To make sure that the state change
requests you require are supported by the managed Component
instances, specify the according type C as generic type
argument.CompositeComponentImpl.ExtendedCompositeComponentImpl<C extends Component,CTX,CON>CompositeComponent.ExtendedCompositeComponent<CTX,CON>LifeCycleComponent.LifeCycleAutomaton, LifeCycleComponent.UncheckedLifeCycleComponentInitializable.InitializeAutomaton, Initializable.InitializeBuilder<B extends Initializable.InitializeBuilder<B>>, Initializable.UncheckedInitializableStartable.StartAutomaton, Startable.StartBuilder<B extends Startable.StartBuilder<B>>, Startable.UncheckedStartablePausable.PauseAutomaton, Pausable.PauseBuilder<B extends Pausable.PauseBuilder<B>>, Pausable.UncheckedPausableResumable.ResumeAutomaton, Resumable.ResumeBuilder<B extends Resumable.ResumeBuilder<B>>, Resumable.UncheckedResumableStoppable.StopAutomaton, Stoppable.StopBuilder<B extends Stoppable.StopBuilder<B>>, Stoppable.UncheckedStoppableDestroyable.DestroyAutomatonLinkComponent.LinkAutomaton, LinkComponent.LinkComponentBuilder<B extends LinkComponent.LinkComponentBuilder<B>>Openable.OpenAutomaton, Openable.OpenBuilder<B extends Openable.OpenBuilder<B>>Closable.CloseAutomaton, Closable.CloseBuilder<B extends Closable.CloseBuilder<B>>Flushable.FlushBuilder<B extends Flushable.FlushBuilder<B>>Decomposeable.DecomposeAutomatonorg.refcodes.mixin.Disposable.DisposedableConfigurableLifeCycleComponent.ConfigurableLifeCycleAutomaton<CTX>Configurable.ConfigureAutomaton<CTX>, Configurable.ConfigureBuilder<CTX,B extends Configurable.ConfigureBuilder<CTX,B>>ConnectionComponent.ConnectionAutomaton<CON>, ConnectionComponent.ConnectionComponentBuilder<CON,B extends ConnectionComponent.ConnectionComponentBuilder<CON,B>>ConnectionOpenable.ConnectionOpenAutomaton<CON>, ConnectionOpenable.ConnectionOpenBuilder<CON,B extends ConnectionOpenable.ConnectionOpenBuilder<CON,B>>| Constructor and Description |
|---|
ExtendedCompositeComponentImpl(C... aComponents)
Instantiates a new extended composite component impl.
|
ExtendedCompositeComponentImpl(Collection<C> aComponents)
Instantiates a new extended composite component impl.
|
ExtendedCompositeComponentImpl(org.refcodes.controlflow.ExecutionStrategy aStrategy,
C... aComponents)
Instantiates a new extended composite component impl.
|
ExtendedCompositeComponentImpl(org.refcodes.controlflow.ExecutionStrategy aStrategy,
Collection<C> aComponents)
Instantiates a new extended composite component impl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(CTX aContext)
Initializes and configures the component.
|
void |
open(CON aConnection)
Opens the component with the given connection.
|
close, decompose, destroy, dispose, flush, getComponents, getExecutionStrategy, initialize, open, pause, reset, resume, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, initializeUncheckedstart, startUncheckedpause, pauseUncheckedresume, resumeUncheckedstop, stopUncheckeddestroyopen, openUncheckedclose, closeIn, closeQuietly, closeUncheckedflush, flushUncheckeddecomposeinitializeUncheckedopenUnchecked@SafeVarargs public ExtendedCompositeComponentImpl(C... aComponents)
aComponents - the a componentspublic ExtendedCompositeComponentImpl(Collection<C> aComponents)
aComponents - the a components@SafeVarargs public ExtendedCompositeComponentImpl(org.refcodes.controlflow.ExecutionStrategy aStrategy, C... aComponents)
aStrategy - the a strategyaComponents - the a componentspublic ExtendedCompositeComponentImpl(org.refcodes.controlflow.ExecutionStrategy aStrategy,
Collection<C> aComponents)
aStrategy - the a strategyaComponents - the a componentspublic void initialize(CTX aContext) throws ConfigureException
initialize in interface Configurable<CTX>aContext - The context to be passed to the implementing instance.ConfigureException - Thrown in case initializing fails.public void open(CON aConnection) throws OpenException
open in interface ConnectionOpenable<CON>aConnection - The connection used for opening the connection.OpenException - Thrown in case opening or accessing an open line
(connection, junction, link) caused problems.Copyright © 2017. All rights reserved.