C
- The type of the Component
supported by the
CompositeComponentImpl.ExtendedCompositeComponentImpl
.public 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 CompositeComponentImpl.ExtendedCompositeComponentImpl<C extends Component,CTX,CON>
CompositeComponent.ExtendedCompositeComponent<CTX,CON>
LifeCycleComponent.LifeCycleAutomaton
Initializeable.InitializeAutomaton
Startable.StartAutomaton
Pausable.PauseAutomaton
Resumable.ResumeAutomaton
Stoppable.StopAutomaton
Destroyable.DestroyAutomaton
DeviceComponent.DeviceAutomaton
Openable.OpenAutomaton
Closable.CloseAutomaton
Decomposeable.DecomposeAutomaton
org.refcodes.mixin.mixins.Disposable.DisposeSupport
ConfigurableLifeCycleComponent.ConfigurableLifeCycleAutomaton<CTX>
Configurable.ConfigureAutomaton<CTX>
ConnectionComponent.ConnectionAutomaton<CON>
ConnectionOpenable.ConnectionOpenAutomaton<CON>
Constructor and Description |
---|
ExtendedCompositeComponentImpl(C... aComponents) |
ExtendedCompositeComponentImpl(Collection<C> aComponents) |
ExtendedCompositeComponentImpl(org.refcodes.controlflow.consts.ExecutionStrategy aStrategy,
C... aComponents) |
ExtendedCompositeComponentImpl(org.refcodes.controlflow.consts.ExecutionStrategy aStrategy,
Collection<C> aComponents) |
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, the component opens a
connection with the given connection.
|
close, decompose, destroy, dispose, flush, getComponents, getExecutionStrategy, initialize, open, pause, reset, resume, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize
destroy
decompose
@SafeVarargs public ExtendedCompositeComponentImpl(C... aComponents)
public ExtendedCompositeComponentImpl(Collection<C> aComponents)
@SafeVarargs public ExtendedCompositeComponentImpl(org.refcodes.controlflow.consts.ExecutionStrategy aStrategy, C... aComponents)
public ExtendedCompositeComponentImpl(org.refcodes.controlflow.consts.ExecutionStrategy aStrategy, Collection<C> aComponents)
public 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 © 2015. All rights reserved.