public static interface AppContext.Listener
AppContext.addListener(com.haulmont.cuba.core.sys.AppContext.Listener)
method.
It is recommended to use AppContextStartedEvent
and AppContextStoppedEvent
instead.Modifier and Type | Field and Description |
---|---|
static int |
HIGHEST_PLATFORM_PRECEDENCE
Defines the highest precedence for
Ordered listeners added by the platform. |
static int |
LOWEST_PLATFORM_PRECEDENCE
Defines the lowest precedence for
Ordered listeners added by the platform. |
Modifier and Type | Method and Description |
---|---|
void |
applicationStarted()
Called by
AppContext after successful application startup and initialization. |
void |
applicationStopped()
Called by
AppContext before application shutdown. |
static final int HIGHEST_PLATFORM_PRECEDENCE
Ordered
listeners added by the platform.static final int LOWEST_PLATFORM_PRECEDENCE
Ordered
listeners added by the platform.void applicationStarted()
AppContext
after successful application startup and initialization.void applicationStopped()
AppContext
before application shutdown.