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, LifeCycleComponent.UncheckedLifeCycleComponent
Initializable.InitializeAutomaton, Initializable.InitializeBuilder<B extends Initializable.InitializeBuilder<B>>, Initializable.UncheckedInitializable
Startable.StartAutomaton, Startable.StartBuilder<B extends Startable.StartBuilder<B>>, Startable.UncheckedStartable
Pausable.PauseAutomaton, Pausable.PauseBuilder<B extends Pausable.PauseBuilder<B>>, Pausable.UncheckedPausable
Resumable.ResumeAutomaton, Resumable.ResumeBuilder<B extends Resumable.ResumeBuilder<B>>, Resumable.UncheckedResumable
Stoppable.StopAutomaton, Stoppable.StopBuilder<B extends Stoppable.StopBuilder<B>>, Stoppable.UncheckedStoppable
Destroyable.DestroyAutomaton
DeviceComponent.DeviceAutomaton
Openable.OpenAutomaton
Closable.CloseAutomaton
Decomposeable.DecomposeAutomaton
Disposable.DisposeSupport
ConfigurableLifeCycleComponent.ConfigurableLifeCycleAutomaton<CTX>
Configurable.ConfigureAutomaton<CTX>, Configurable.ConfigureBuilder<CTX,B extends Configurable.ConfigureBuilder<CTX,B>>
ConnectionComponent.ConnectionAutomaton<CON>
ConnectionOpenable.ConnectionOpenAutomaton<CON>
Constructor and Description |
---|
ExtendedCompositeComponentImpl(C... aComponents) |
ExtendedCompositeComponentImpl(Collection<C> aComponents) |
ExtendedCompositeComponentImpl(ExecutionStrategy aStrategy,
C... aComponents) |
ExtendedCompositeComponentImpl(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
dispose
@SafeVarargs public ExtendedCompositeComponentImpl(C... aComponents)
public ExtendedCompositeComponentImpl(Collection<C> aComponents)
@SafeVarargs public ExtendedCompositeComponentImpl(ExecutionStrategy aStrategy, C... aComponents)
public ExtendedCompositeComponentImpl(ExecutionStrategy aStrategy, Collection<C> aComponents)
public void initialize(CTX aContext) throws ConfigureException
Configurable
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
ConnectionOpenable
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 © 2016. All rights reserved.