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 uk.gov.nationalarchives.discovery.taxonomy.batch.actor.supervisor.CategorisationSupervisorRunner.java

/**
 * Supervisor Batch that works on categorising all documents<br/>
 * main task is to start the supervisor actor
 * 
 * @see CategorisationSupervisorActor
 */

From source file org.cfg4j.sample.MainController.java

@Controller
@EnableAutoConfiguration
@ComponentScan
@EnableMetrics
public class MainController implements CommandLineRunner {

From source file sample.doublejpa.SampleDoubleJpaApplication.java

@Configuration
@ComponentScan
@EnableAutoConfiguration
public class SampleDoubleJpaApplication implements CommandLineRunner {

    @Autowired

From source file com.garyclayburg.BootSmoke.java

/**
 * Created by IntelliJ IDEA.
 * Date: 1/6/15
 * Time: 7:57 PM
 *
 * @author Gary Clayburg

From source file net.letscarpool.LetscarpoolRestApplication.java

@Configuration
@ComponentScan
@EnableAutoConfiguration(exclude = { ErrorMvcAutoConfiguration.class })
public class LetscarpoolRestApplication implements CommandLineRunner {
    @Autowired
    UserRepository repository;

From source file com.bootdroolsmongo.Application.java

/**
 *
 * @author Ian
 */
@SpringBootApplication
public class Application implements CommandLineRunner {

From source file com.loy.LogApplicationMain.java

/**
 * 
 * @author Loy Fu qq 540553957 http://www.17jee.com
 * @since 1.8
 * @version 3.0.0
 * 

From source file com.autentia.spring.boot.example.SampleProfileApplication.java

@Configuration
@EnableAutoConfiguration
@ComponentScan
public class SampleProfileApplication implements CommandLineRunner {

    @Autowired

From source file org.cloudfoundry.dependency.out.OutAction.java

@Component
@Profile("out")
final class OutAction implements CommandLineRunner {

    private final Logger logger = LoggerFactory.getLogger(this.getClass());

From source file com.weihui.BootApplication.java

@SpringBootApplication
@EnableAutoConfiguration
@EnableAspectJAutoProxy
@EnableTransactionManagement
@PropertySource(value = { "${app.config}" })
public class BootApplication extends SpringBootServletInitializer implements CommandLineRunner {