CompositeComponent, CompositeComponent.ExtendedCompositeComponent<CTX,CON>, ConfigurableLifeCycleComponent<CTX>, ConfigurableLifeCycleComponent.ConfigurableLifeCycleAutomaton<CTX>, LifeCycleComponent, LifeCycleComponent.LifeCycleAutomaton, LifeCycleComponent.UncheckedLifeCycleComponent, Startable.StartAutomaton, Startable.UncheckedStartableCompositeComponentImpl, CompositeComponentImpl.ExtendedCompositeComponentImpl, ConfigurableLifeCycleAutomatonImpl, LifeCycleAutomatonImpl, LifeCycleAutomatonImpl.ManualLifeCycleAutomatonImplpublic interface Startable
| Modifier and Type | Interface | Description |
|---|---|---|
static interface |
Startable.StartAutomaton |
The
Startable.StartAutomaton interface defines those methods related to the
start life-cycle. |
static interface |
Startable.StartBuilder<B extends Startable.StartBuilder<B>> |
To enable the
Startable functionality to be invoked in a builder
chain. |
static interface |
Startable.UncheckedStartable |
See
Startable without any checked exception being declared. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
start() |
Starts the component.
|
default void |
startUnchecked() |
Starts the component by calling
start() without you to require
catching an StartException. |
void start()
throws StartException
StartException - Thrown in case starting fails.default void startUnchecked()
start() without you to require
catching an StartException.StartException.StartRuntimeException - encapsulates the cause and is thrown upon
encountering a StartException exceptionCopyright © 2018. All rights reserved.