public interface LightyModule
LightyController and other modules depend on this module.
Typically, module is north-bound plugin or south-bound plugin,
or any logical component of Lighty application using services provided by core module.| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
shutdown()
shutdown module
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
start()
Start in background and return immediately.
|
void |
startBlocking()
Start and block until shutdown is requested.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> start()
void startBlocking()
throws InterruptedException
InterruptedException - thrown in case module initialization fails.Copyright © 2019. All rights reserved.