T - The typepublic interface LifeCycle<T extends LifeCycle>
extends java.io.Closeable, java.lang.AutoCloseable
Components can implement this interface
| Modifier and Type | Method and Description | 
|---|---|
default void | 
close()
Delegates to  
stop(). | 
boolean | 
isRunning()  | 
default T | 
refresh()
Refreshes the current life cycle object. 
 | 
default T | 
start()
Starts the lifecyle component. 
 | 
default T | 
stop()
Stops the life cycle component. 
 | 
boolean isRunning()
default void close()
stop().close in interface java.lang.AutoCloseableclose in interface java.io.Closeable