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 br.com.mobclip.Application.java

@SpringBootApplication
@ComponentScan
public class Application implements CommandLineRunner {

    @Autowired
    private ExtractionStarter starter;

From source file xolpoc.app.ModuleBootstrap.java

/**
 * Main method for running a single Module as a self-contained application.
 *
 * @author Mark Fisher
 */
@SpringBootApplication

From source file sample.narayana.SampleNarayanaApplication.java

@SpringBootApplication
@EnableTransactionManagement
public class SampleNarayanaApplication implements CommandLineRunner {

    private static final Logger LOG = LoggerFactory.getLogger(SampleNarayanaApplication.class);

From source file com.garyclayburg.BootUp.java

/**
 * Created by IntelliJ IDEA.
 * Date: 3/26/14
 * Time: 12:24 PM
 *
 * @author Gary Clayburg

From source file org.openlmis.fulfillment.TestDataInitializer.java

@Component
@Profile("demo-data")
@Order(5)
public class TestDataInitializer implements CommandLineRunner {
    private static final XLogger XLOGGER = XLoggerFactory.getXLogger(TestDataInitializer.class);

From source file org.cloudfoundry.dependency.in.InAction.java

@Component
@Profile("in")
final class InAction implements CommandLineRunner {

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

From source file ratpack.spring.config.RatpackConfiguration.java

/**
 * @author Dave Syer
 * 
 */
@Configuration
@Import(ChainConfigurers.class)

From source file fr.arlefebvre.pronostics.TemporaryDBFill.java

/**
 * Created by Arthur on 14/04/2016.
 */
@Component
public class TemporaryDBFill implements CommandLineRunner {

From source file io.pivotal.poc.gemfire.gtx.GtxJpaGfxApplication.java

/**
 * This application demonstrates how to use Gemfire and JPA with a Global Transaction Manager: Atomikos.
 * <br/>
 * 1. Add the following starters to your POM:
 * spring-boot-starter-data-gemfire, spring-boot-starter-data-jpa, spring-boot-starter-jta-atomikos
 * <br/>

From source file tk.mybatis.pagehelper.SampleXmlApplication.java

@SpringBootApplication
public class SampleXmlApplication implements CommandLineRunner {

    @Autowired
    private CountryMapper countryMapper;