io.quarkus.runtime.StartupEvent Maven / Gradle / Ivy
The newest version!
package io.quarkus.runtime;
/**
* Event class that is fired on startup.
*
* This is fired on main method execution after all startup code has run,
* so can be used to start threads etc. in native image mode
*
* This event is observed as follows:
*
*
* void onStart(@Observes StartupEvent ev) {
* LOGGER.info("The application is starting...");
* }
*
*
* The annotated method can access other injected beans.
*
*/
public class StartupEvent extends jakarta.enterprise.event.Startup {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy