Search in sources :

Example 1 with ServicesApplicationStartupListener

use of com.thinkbiganalytics.app.ServicesApplicationStartupListener in project kylo by Teradata.

the class DefaultServicesApplicationStartup method onApplicationEvent.

@Override
public void onApplicationEvent(final ContextRefreshedEvent event) {
    if (startTime == null) {
        determineApplicationType(event);
        startTime = new DateTime();
        for (ServicesApplicationStartupListener startupListener : startupListeners) {
            executorService.submit(new StartupTask(startTime, startupListener));
        }
    }
}
Also used : ServicesApplicationStartupListener(com.thinkbiganalytics.app.ServicesApplicationStartupListener) DateTime(org.joda.time.DateTime)

Aggregations

ServicesApplicationStartupListener (com.thinkbiganalytics.app.ServicesApplicationStartupListener)1 DateTime (org.joda.time.DateTime)1