public class StartupEvent extends Object
void onStart(@Observes StartupEvent ev) {
LOGGER.info("The application is starting...");
}
The annotated method can access other injected beans.Copyright © 2020 JBoss by Red Hat. All rights reserved.