public interface ApplicationLifecycleService extends Service
ApplicationLifecycleService
are notified on several application events.
E.g. ApplicationLifecycleService#EVENT_APPLICATION_PREPARED
is sent when all application
objects have been initialized but the adapters hasn't been started yet. For Spring applications all beans
are available.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NAME |
static String |
EVENT_APPLICATION_PREPARED |
static String |
EVENT_APPLICATION_STOPPED |
Modifier and Type | Method and Description |
---|---|
void |
applicationPrepared()
Called when the application is fully initialized but not started yet.
|
void |
applicationStopped()
Called when the application is stopped to allow termination of regular task threads.
|
static final String DEFAULT_NAME
static final String EVENT_APPLICATION_PREPARED
static final String EVENT_APPLICATION_STOPPED
void applicationPrepared()
void applicationStopped()
Copyright © 2022. All rights reserved.