public interface SeedLauncher
ServiceLoader service in META-INF/services to be detected.| Modifier and Type | Method and Description |
|---|---|
default Optional<io.nuun.kernel.api.Kernel> |
getKernel()
Returns the currently running kernel created by this launcher.
|
default void |
launch(String[] args)
Launches the SeedStack application.
|
void |
launch(String[] args,
Map<String,String> kernelParameters)
Launches the SeedStack application with custom kernel parameters.
|
default void |
refresh()
Refreshes the SeedStack application.
|
void |
shutdown()
Shutdown the SeedStack application.
|
default void launch(String[] args) throws Exception
args - arguments of the SeedStack application.Exception - when something goes wrong.void launch(String[] args, Map<String,String> kernelParameters) throws Exception
args - arguments of the SeedStack application.kernelParameters - the custom kernel parameters.Exception - when something goes wrong.default void refresh()
throws Exception
Exception - when something goes wrong.default Optional<io.nuun.kernel.api.Kernel> getKernel()
Copyright © 2013-2018–2019 SeedStack. All rights reserved.