List of usage examples for org.springframework.boot CommandLineRunner interface-usage
From source file org.starfishrespect.myconsumption.server.business.Watcher.java
/**
* Launch the data retriever, the statistics updater and the notifier.
* S23Y (2015). Licensed under the Apache License, Version 2.0.
* Author: Thibaud Ledent
*/
@SpringBootApplication
From source file com.r3f1cul.hello.Application.java
@SpringBootApplication @EnableSwagger2 @ComponentScan(basePackageClasses = { StudentController.class }) public class Application implements CommandLineRunner { @Autowired
From source file io.spring.task.SampleCommandLineRunner.java
/** * @author Michael Minella */ @Component public class SampleCommandLineRunner implements CommandLineRunner {
From source file org.profiletest.ProfileTestRunner.java
public class ProfileTestRunner implements CommandLineRunner { @Value("${tutorial.client.duration:0}") private int duration; @Autowired
From source file sample.aop.SampleAopApplication.java
@SpringBootApplication public class SampleAopApplication implements CommandLineRunner { // Simple example shows how an application can spy on itself with AOP @Autowired
From source file com.baocy.RabbitMQTutorialsRunner.java
/** * @author Gary Russell * @author Scott Deeg */ public class RabbitMQTutorialsRunner implements CommandLineRunner {
From source file sample.mybatis.SampleXmlApplication.java
@SpringBootApplication public class SampleXmlApplication implements CommandLineRunner { public static void main(String[] args) { SpringApplication.run(SampleXmlApplication.class, args); }
From source file com.bcknds.demo.mongo.Application.java
/**
* @author Michael Brush
*
*/
@ComponentScan
@EnableAutoConfiguration
From source file com.bcknds.demo.oauth2.Application.java
/**
* @author Michael Brush
*
*/
@ComponentScan
@EnableAutoConfiguration
From source file org.spring.data.gemfire.app.boot.SpringBootDataGemFireCacheClientApplication.java
/**
* The SpringBootDataGemFireCacheClientApplication class is a Spring Boot application that configures and bootstraps
* a GemFire {@link com.gemstone.gemfire.cache.client.ClientCache} instance.
*
* @author John Blum
* @see org.springframework.boot.CommandLineRunner