Example usage for org.springframework.boot CommandLineRunner interface-usage

List of usage examples for org.springframework.boot CommandLineRunner interface-usage

Introduction

In this page you can find the example usage for org.springframework.boot CommandLineRunner interface-usage.

Usage

From source file org.openbaton.nfvo.system.SystemStartup.java

/**
 * Created by lto on 12/05/15.
 */
@Service
@Order(value = Ordered.HIGHEST_PRECEDENCE)
@ConfigurationProperties

From source file io.spring.marchmadness.boot.BracketScoringCommandLineRunner.java

/**
 * @author Michael Minella
 */
@Component
public class BracketScoringCommandLineRunner implements CommandLineRunner {

From source file org.eclipse.californium.scandium.server.PskDtlsServer.java

@Component
public class PskDtlsServer implements CommandLineRunner {

    private static final Logger LOGGER = Logger.getLogger(PskDtlsServer.class.getName());
    private DTLSConnector dtlsConnector;

From source file net.kemitix.checkstyle.ruleset.builder.CheckstyleWriter.java

/**
 * Writes the Checkstyle XML files.
 *
 * @author Paul Campbell (pcampbell@kemitix.net)
 */
@Slf4j

From source file sh.scrap.scrapper.SampleRunner.java

@SpringBootApplication
public class SampleRunner implements CommandLineRunner {

    private static final Logger log = LoggerFactory.getLogger(SampleRunner.class);

    @Autowired

From source file demo.FleetLocationRandomizer.java

/**
 * @author Dave Syer
 *
 */
@Configuration
@EnableAutoConfiguration

From source file io.pivotal.example.SpringGemFireApplication.java

/**
 * The SpringGemFireApplication class...
 *
 * @author John Blum
 * @since 1.0.0
 */

From source file de.whs.poodle.cli.PoodleCliCommandLineRunner.java

@Component
@Profile("cli")
public class PoodleCliCommandLineRunner implements CommandLineRunner {

    @Autowired
    private InstructorRepository instructorRepo;

From source file lab.example.service.LotteryService.java

@SpringBootApplication
@EnableConfigurationProperties
@Configuration
@EnableRabbit
public class LotteryService implements CommandLineRunner {

From source file com.ericsson.eiffel.remrem.generate.cli.CLI.java

/**
 * Class for interpreting the passed arguments from command line. Parse method
 * returns true, meaning we need to start the service afterwards, if no argument
 * is given. The same method returns false, meaning we do not start the service
 * afterwards, if any argument is given. If an argument is given that it is not
 * recognized we print help.