public interface Lifecycle
init()-ialized and destroy()-d.
Annotated so that Dependency Injection Frameworks (whichever) automatically call these methods during wiring.
AbstractLifecycle| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the object.
|
void |
init()
Initialize the object.
|
boolean |
isRunning() |
void init() throws ModuleSetupRuntimeException
ModuleSetupRuntimeException - if initialization failedvoid destroy()
throws ModuleSetupRuntimeException
ModuleSetupRuntimeException - if destruction failedboolean isRunning()
Copyright © 2020 OpenDaylight. All rights reserved.