src/main/java/ch/bfh/ti/i4mi/mag/MobileAccessGateway.java
/**
     * Adds a hook to the Application Ready event to run some magic.
     *
     * @param application The IPF {@link SpringApplication} instance.
     */
Adds a hook to the Application Ready event to run some magic.
@param application The IPF  SpringApplication instance.
Adds a hook to the Application Ready event to run some magic . @param application The IPF SpringApplication instance .
public static void addApplicationStartupHook(final SpringApplication application) {
        application.addListeners((ApplicationListener<ApplicationReadyEvent>) event -> {
            log.info("MobileAccessGateway has been configured and has started");
        });
    }
public static void addApplicationStartupHook ( final SpringApplication application ) { application . addListeners ( ( ApplicationListener < ApplicationReadyEvent > ) event -> { log . info ( "MobileAccessGateway has been configured and has started" ) ; } ) ; }
Adds a hook to the Application Ready event to run some magic.
Adds a hook to the Application Ready event to run some magic .