List of usage examples for org.springframework.boot CommandLineRunner interface-usage
From source file com.bluecollarcoder.crawler.CrawlerApplication.java
/**
*
* @author wayne
*/
@SpringBootApplication
@EnableAutoConfiguration
From source file com.otz.transport.consumer.KafkaEventDispatcherLauncher.java
/**
* Copyright 2016 opentoolzone.com - Kafka Transport
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
From source file com.rms.main.DatabaseLoader.java
/** * @author Greg Turnquist */ // tag::code[] @Component public class DatabaseLoader implements CommandLineRunner {
From source file com.health.Application.java
@SpringBootApplication public class Application implements CommandLineRunner { public static void main(String[] args) { SpringApplication.run(Application.class, args); }
From source file sample.flyway.SampleFlywayApplication.java
@SpringBootApplication public class SampleFlywayApplication implements CommandLineRunner { public static void main(String[] args) throws Exception { SpringApplication.run(SampleFlywayApplication.class, args); }
From source file org.spockframework.boot.SimpleBootApp.java
@SpringBootApplication public class SimpleBootApp implements CommandLineRunner { @Override public void run(String... args) { System.out.println("Hello World");
From source file com.walmart.gatling.StartupRunner.java
public class StartupRunner implements CommandLineRunner { protected final Log logger = LogFactory.getLog(getClass()); @Override public void run(String... args) throws Exception { logger.info("Application Initializing...");
From source file sample.beanvalidation.BeanValidationRunner.java
@Component public class BeanValidationRunner implements CommandLineRunner { @Autowired public Person person;
From source file cc.os3.bs.xml.SampleSpringXmlApplication.java
public class SampleSpringXmlApplication implements CommandLineRunner { @Autowired private HelloWorldService helloWorldService; @Override
From source file com.bcknds.datastore.registry.SchemaRegistryApp.java
/** * @author Michael Brush <mbrush@bcknds.com> */ @SpringBootApplication public class SchemaRegistryApp implements CommandLineRunner {