Module io.helidon.service.registry
Package io.helidon.service.registry
Class RegistryStartupProvider
java.lang.Object
io.helidon.service.registry.RegistryStartupProvider
- All Implemented Interfaces:
HelidonStartupProvider
ServiceLoader
implementation of a Helidon startup provider for Helidon Service Registry based
applications.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
registerShutdownHandler
(ServiceRegistryManager registryManager) Register a shutdown handler.void
Start the runtime.
-
Constructor Details
-
RegistryStartupProvider
Deprecated.please do not use directlyDefault constructor required byServiceLoader
.
-
-
Method Details
-
registerShutdownHandler
Register a shutdown handler. The handler is registered, and never de-registered. This method should only be used by main classes of applications. If a custom shutdown is desired, please useMain.addShutdownHandler(io.helidon.spi.HelidonShutdownHandler)
directly.- Parameters:
registryManager
- registry manager
-
start
Description copied from interface:HelidonStartupProvider
Start the runtime.- Specified by:
start
in interfaceHelidonStartupProvider
- Parameters:
arguments
- command line arguments
-