public interface Lifecycle extends Disposable
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the component
|
void |
initialize()
Initialize the component before
start |
void |
start()
Start the component
|
void initialize()
throws IllegalStateException
startIllegalStateExceptionvoid start()
throws IllegalStateException
IllegalStateExceptionvoid destroy()
throws IllegalStateException
destroy in interface DisposableIllegalStateExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.