Java tutorial
/******************************************************************************* * Copyright (c) 2016 Stichting Yona Foundation This Source Code Form is subject to the terms of the Mozilla Public License, v. * 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. *******************************************************************************/ package nu.famroos.repro.hazelcast.shutdown; import org.springframework.boot.CommandLineRunner; import org.springframework.stereotype.Component; @Component public class HelloWorldRunner implements CommandLineRunner { @Override public void run(String... args) throws Exception { System.out.println("Hello World!"); } }