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 univ.cnu.lecture.gostop.Application.java

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

    // Simple example shows how a command line spring application can execute an

From source file com.caronic.data.redis.SampleRedisApplication.java

@Configuration
@EnableAutoConfiguration
public class SampleRedisApplication implements CommandLineRunner {

    @Autowired
    private StringRedisTemplate template;

From source file com.pradeep.snomed.simple.SampleSimpleApplication.java

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

    // Simple example shows how a command line spring application can execute an

From source file org.mjunx.LoggerLoadTester.java

/**
 *
 */
@Component
public class LoggerLoadTester implements CommandLineRunner {

From source file com.ninjas.movietime.MovieTimeApplication.java

/**
 * @author ayassinov on 11/07/14
 */
@Slf4j
@Configuration
@ComponentScan

From source file com.monsanto.sample.simple.SampleSimpleApplication.java

@SpringBootApplication
@EnableConfigurationProperties
public class SampleSimpleApplication implements CommandLineRunner {

    @Autowired
    private WeatherClient weatherClient;

From source file io.interface21.domain.DataLoader.java

/**
 * A DataLoader.
 *
 * @author <a href="mailto:scherrer@openwms.org">Heiko Scherrer</a>
 * @version 1.0
 * @since 1.0

From source file blankd.acme.pet.licensing.Application.java

@SpringBootApplication //(exclude = org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration.class)
public class Application implements CommandLineRunner {
    private static final Logger log = LoggerFactory.getLogger(Application.class);
    private static final Integer ZERO = Integer.valueOf(0);

    @Autowired

From source file de.zalando.spring.cloud.config.aws.kms.test.EncryptionCLI.java

@Component
public class EncryptionCLI implements CommandLineRunner {

    @Override
    public void run(final String... args) {
        try {

From source file com.hendyirawan.gggettingstarted.simple.SampleSimpleApplication.java

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

    // Simple example shows how a command line spring application can execute an