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 org.examples.spring.boot.caching.ConcurrentMapCachingExample.java

/**
 * The ConcurrentMapCachingExample class...
 *
 * @author John Blum
 * @since 1.0.0
 */

From source file io.pivotal.tzolov.gemfire.GemfireHawqAdapterService.java

@Service
public class GemfireHawqAdapterService implements CommandLineRunner {

    private String hostName;

    private String port;

From source file com.lab.http.server.simple.main.SampleSimpleApplicationTest.java

@ComponentScan(basePackages = { "com.lab" })
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
//@EnableAutoConfiguration
//@AutoConfigurationPackage
public class SampleSimpleApplicationTest implements CommandLineRunner {

From source file uk.gov.nationalarchives.discovery.taxonomy.batch.actor.worker.CategorisationWorkerRunner.java

/**
 * Worker Batch that works on categorising all documents<br/>
 * main task is to start the worker (worker) actor
 *
 * @see CategorisationWorkerActor
 */

From source file com.example.grpc.springboot.Cmd.java

/**
 * Created by rayt on 5/18/16.
 */
@Component
@EnableDiscoveryClient
public class Cmd implements CommandLineRunner {

From source file io.github.carlomicieli.footballdb.starter.Samples.java

/**
 * @author Carlo Micieli
 */
@Component
@SuppressWarnings("unused")
public class Samples implements CommandLineRunner {

From source file example.app.spring.data.geode.client.DataGeodeClientApplication.java

/**
 * The DataGeodeClientApplication class is a {@link SpringBootApplication} that configures and bootstraps
 * and Geode cache client application JVM process using Spring Data Geode's new and improved Java annotation-based
 * configuration approach.
 *
 * @author John Blum

From source file uk.urchinly.wabi.expose.Application.java

@SpringBootApplication
@RestController
public class Application implements CommandLineRunner {

    @Value("${app.share.path}")
    private String appSharePath;

From source file uk.urchinly.wabi.ingest.Application.java

@SpringBootApplication
@RestController
public class Application implements CommandLineRunner {

    @Value("${app.share.path}")
    private String appSharePath;

From source file pl.nort.dayoneevernote.DayoneEvernoteApplication.java

/**
 * @author <a href="mailto:norbert.potocki@gmail.com">Norbert Potocki</a>
 */
@Configuration
@EnableAutoConfiguration
@ComponentScan