public interface Startable
A startable singleton component will have it's start and stop method called by the orbit container.
The non singletons will not be part of the container lifecycle.
| Modifier and Type | Method and Description |
|---|---|
default Task |
start()
It must be possible to call start twice without errors.
|
default Task |
stop()
It must be possible to call stop twice.
|
default Task start()
default Task stop()
Copyright © 2015. All rights reserved.