use of com.haulmont.cuba.core.sys.events.AppContextStartedEvent in project cuba by cuba-platform.
the class AppContext method startContext.
static void startContext() {
if (started)
return;
started = true;
listeners.sort(new OrderComparator());
for (Listener listener : listeners) {
listener.applicationStarted();
}
Events events = (Events) getApplicationContext().getBean(Events.NAME);
events.publish(new AppContextStartedEvent(context));
listenersNotified = true;
}
Aggregations