public interface ApplicationLifecycleService extends Service
ApplicationLifecycleService
are notified on several application events.
E.g. ApplicationLifecycleService#EVENT_APPLICATION_LIFECYCLE_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.
ApplicationLifecycleService#EVENT_APPLICATION_LIFECYCLE_STARTED
when all components including the adapters
are up and running.
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NAME |
static String |
EVENT_APPLICATION_LIFECYCLE_PREPARED |
static String |
EVENT_APPLICATION_LIFECYCLE_STARTED |
Modifier and Type | Method and Description |
---|---|
void |
applicationPrepared(CdsRuntime cdsRuntime)
Called when the application is fully initialized but not started yet.
|
void |
applicationStarted()
Called when the application has been started.
|
static final String DEFAULT_NAME
static final String EVENT_APPLICATION_LIFECYCLE_PREPARED
static final String EVENT_APPLICATION_LIFECYCLE_STARTED
void applicationPrepared(CdsRuntime cdsRuntime)
cdsRuntime
- The initialized runtimevoid applicationStarted()
Copyright © 2020. All rights reserved.