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.mifos.tools.service.ConsoleReaderService.java

@Service
public class ConsoleReaderService implements CommandLineRunner, ResourceLoaderAware {

    private final Environment environment;
    private final Gson gson;
    private final PPIUploaderService ppiUploaderService;

From source file devbury.dewey.developer.PluginTester.java

public class PluginTester implements CommandLineRunner, ChatServer {

    @Autowired
    private ApplicationEventPublisher eventPublisher;

    private ArrayList<MessageFromDewey> messages = new ArrayList<>();

From source file net.tzolov.geode.archive.StatisticsLoaderApplication.java

@SpringBootApplication
@Configuration
public class StatisticsLoaderApplication implements CommandLineRunner {

    @Autowired
    private StatisticsToInfluxLoader statisticsLoader;

From source file org.statefulj.persistence.mongo.demo.Demo.java

@Component
public class Demo implements CommandLineRunner {

    Logger logger = LoggerFactory.getLogger(Demo.class);

    @Resource

From source file io.pivotal.Migrate.java

/**
 * @author Rob Winch
 *
 */
@SpringBootApplication
public class Migrate implements CommandLineRunner {

From source file com.spp.DatabaseLoader.java

/**
 * @author Greg Turnquist
 */
// tag::code[]
@Component
public class DatabaseLoader implements CommandLineRunner {

From source file de.zalando.awsqueen.awqfetch.FetchCLI.java

@Component
public class FetchCLI implements CommandLineRunner {

    public static final String USER_DIR = "user.dir";

    private String currentDir = System.getProperty(USER_DIR);

From source file de.sainth.recipe.backend.Application.java

@SpringBootApplication
@EnableAutoConfiguration
@EnableConfigurationProperties
public class Application implements CommandLineRunner {

    @Autowired

From source file io.leishvl.core.LeishvlCoreApplication.java

/**
 * Spring application which is mainly intended for use in demonstrations since this is a JAR library, not an executable.
 * @author Erik Torres <ertorser@upv.es>
 */
@SpringBootApplication
@Import(value = { JacksonConfiguration.class, MongoConfiguration.class })

From source file org.kamranzafar.spring.wpapi.test.Application.java

/**
 * Created by kamran on 05/08/16.
 */
@SpringBootApplication
@ComponentScan("org.kamranzafar.spring.wpapi")
public class Application implements CommandLineRunner {