- All Known Subinterfaces:
ComponentComposite
,ComponentComposite.ExtendedComponentComposite<CTX,
,CON> ConfigurableLifecycleComponent<CTX>
,ConfigurableLifecycleComponent.ConfigurableLifecycleAutomaton<CTX>
,LifecycleComponent
,LifecycleComponent.LifecycleAutomaton
,LifecycleComponent.UncheckedLifecycleComponent
,Startable.StartAutomaton
,Startable.UncheckedStartable
- All Known Implementing Classes:
AbstractComponentComposite
,AbstractComponentComposite.ExtendedCompositeComponentImpl
,ConfigurableLifecycleAutomatonImpl
,LifecycleMachine
,LifecycleMachine.ManualLifecycleMachine
public interface Startable
This mixin might be implemented by a component in order to provide start
facilities.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
TheStartable.StartAutomaton
interface defines those methods related to the start life-cycle.static interface
Startable.StartBuilder<B extends Startable.StartBuilder<B>>
To enable theStartable
functionality to be invoked in a builder chain.static interface
SeeStartable
without any checked exception being declared. -
Method Summary
Modifier and TypeMethodDescriptionvoid
start()
Starts the component.default void
Starts the component by callingstart()
without you to require catching anStartException
.
-
Method Details
-
start
Starts the component.- Throws:
StartException
- Thrown in case starting fails.
-
startUnchecked
default void startUnchecked()Starts the component by callingstart()
without you to require catching anStartException
.- Throws:
StartException.StartRuntimeException
- encapsulates the aCause and is thrown upon encountering aStartException
exception
-