public interface Lifecycle
Modifier and Type | Method and Description |
---|---|
default void |
init(InitContext initContext)
Initialises the SPI implementation after it is loaded by the
Connect2id Server.
|
default boolean |
isEnabled()
Checks if the SPI implementation is enabled and can handle requests.
|
default void |
shutdown()
Shuts down the SPI implementation.
|
default void init(InitContext initContext) throws Exception
initContext
- The initialisation context. Can be used to
configure and setup the SPI implementation. Not
null
.Exception
- If initialisation failed.default boolean isEnabled()
true
if the SPI implementation is enabled, else
false
.Copyright © 2021 Connect2id Ltd.. All rights reserved.