C - The type of the Component supported by the
CompositeComponentImpl.ExtendedCompositeComponentImpl.CTX - the generic typeCON - the generic typeFlushable, Closable, CompositeComponent, CompositeComponent.ExtendedCompositeComponent<CTX,CON>, Configurable<C>, ConfigurableLifeCycleComponent<C>, ConnectionComponent<C>, ConnectionOpenable<C>, Decomposeable, Destroyable, Flushable, Initializable, LifeCycleComponent, LinkComponent, Openable, Pausable, Resetable, Resumable, Startable, Stoppable, org.refcodes.mixin.Disposablepublic static class CompositeComponentImpl.ExtendedCompositeComponentImpl<C extends Component,CTX,CON> extends CompositeComponentImpl<C> implements CompositeComponent.ExtendedCompositeComponent<CTX,CON>
CompositeComponentImpl.ExtendedCompositeComponentImpl is an implementation of the
CompositeComponent.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.Closable.CloseAutomaton, Closable.CloseBuilder<B extends Closable.CloseBuilder<B>>CompositeComponent.ExtendedCompositeComponent<CTX,CON>CompositeComponentImpl.ExtendedCompositeComponentImpl<C extends Component,CTX,CON>Configurable.ConfigureAutomaton<CTX>, Configurable.ConfigureBuilder<CTX,B extends Configurable.ConfigureBuilder<CTX,B>>ConfigurableLifeCycleComponent.ConfigurableLifeCycleAutomaton<CTX>ConnectionComponent.ConnectionAutomaton<CON>, ConnectionComponent.ConnectionComponentBuilder<CON,B extends ConnectionComponent.ConnectionComponentBuilder<CON,B>>ConnectionOpenable.ConnectionOpenAutomaton<CON>, ConnectionOpenable.ConnectionOpenBuilder<CON,B extends ConnectionOpenable.ConnectionOpenBuilder<CON,B>>Decomposeable.DecomposeAutomatonDestroyable.DestroyAutomatonorg.refcodes.mixin.Disposable.DisposedableFlushable.FlushBuilder<B extends Flushable.FlushBuilder<B>>Initializable.InitializeAutomaton, Initializable.InitializeBuilder<B extends Initializable.InitializeBuilder<B>>, Initializable.UncheckedInitializableLifeCycleComponent.LifeCycleAutomaton, LifeCycleComponent.UncheckedLifeCycleComponentLinkComponent.LinkAutomaton, LinkComponent.LinkComponentBuilder<B extends LinkComponent.LinkComponentBuilder<B>>Openable.OpenAutomaton, Openable.OpenBuilder<B extends Openable.OpenBuilder<B>>Pausable.PauseAutomaton, Pausable.PauseBuilder<B extends Pausable.PauseBuilder<B>>, Pausable.UncheckedPausableResumable.ResumeAutomaton, Resumable.ResumeBuilder<B extends Resumable.ResumeBuilder<B>>, Resumable.UncheckedResumableStartable.StartAutomaton, Startable.StartBuilder<B extends Startable.StartBuilder<B>>, Startable.UncheckedStartableStoppable.StopAutomaton, Stoppable.StopBuilder<B extends Stoppable.StopBuilder<B>>, Stoppable.UncheckedStoppable| Constructor | 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 | Description |
|---|---|---|
void |
initialize(CTX aContext) |
Initializes and configures the component.
|
void |
open(CON aConnection) |
Opens the component with the given connection.
|
close, closeIn, closeQuietly, closeUncheckedclose, decompose, destroy, dispose, flush, getComponents, getExecutionStrategy, initialize, open, pause, reset, resume, start, stopinitializeUncheckedopenUncheckeddecomposedestroyflush, flushUnchecked, isFlushableinitialize, initializeUncheckedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitopen, openUncheckedpause, pauseUncheckedresume, resumeUncheckedstart, startUncheckedstop, stopUnchecked@SafeVarargs public ExtendedCompositeComponentImpl(C... aComponents)
aComponents - the componentspublic ExtendedCompositeComponentImpl(Collection<C> aComponents)
aComponents - the components@SafeVarargs public ExtendedCompositeComponentImpl(org.refcodes.controlflow.ExecutionStrategy aStrategy, C... aComponents)
aStrategy - the strategyaComponents - the componentspublic ExtendedCompositeComponentImpl(org.refcodes.controlflow.ExecutionStrategy aStrategy,
Collection<C> aComponents)
aStrategy - the strategyaComponents - the componentspublic void initialize(CTX aContext) throws ConfigureException
initialize in interface Configurable<C extends Component>aContext - The context to be passed to the implementing instance.ConfigureExceptionpublic void open(CON aConnection) throws OpenException
open in interface ConnectionOpenable<C extends Component>aConnection - The connection used for opening the connection.OpenException - Thrown in case opening or accessing an open line
(connection, junction, link) caused problems.Copyright © 2018. All rights reserved.