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 ru.jts_dev.authserver.AuthServerApplication.java

@SpringBootApplication(scanBasePackages = { "ru.jts_dev.common", "ru.jts_dev.authserver" })
public class AuthServerApplication implements CommandLineRunner {
    private final ConfigurableApplicationContext context;

    @Autowired
    public AuthServerApplication(ConfigurableApplicationContext context) {

From source file duokan.SampleMapperApplication.java

@SpringBootApplication
public class SampleMapperApplication implements CommandLineRunner {

    @Autowired
    private CityMapper cityMapper;

From source file de.fhg.fokus.nubomedia.App.java

/**
 * Hello world!
 *
 */
public class App implements CommandLineRunner {

From source file example.app.spring.annotation.geode.client.AnnotationConfiguredGeodeClientApplication.java

/**
 * The AnnotationConfiguredGeodeClientApplication 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 net.tzolov.geode.jmx.JmxToGrafanaApplication.java

@SpringBootApplication
@Configuration
public class JmxToGrafanaApplication implements CommandLineRunner {

    @Autowired
    private JmxInfluxLoader jmxInfluxLoader;

From source file com.mdsh.test.media.encoding.Startup.java

/**
 * @author mdsh
 *
 */
@Component
public class Startup implements CommandLineRunner {

From source file flyway.SampleFlywayApplication.java

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

    @Autowired

From source file com.agilegroups.aws.AmazonEC2Application.java

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

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

From source file tradetools.dataloader.DataloaderApplication.java

/**
 * @author Philipp Nanz
 */
@SpringBootApplication
@EnableJpaRepositories(PERSISTENCE_BASE_PACKAGE)
@EntityScan(PERSISTENCE_BASE_PACKAGE)

From source file com.xiovr.unibot.bot.BotLauncher.java

/**
 * @author xio4 E5bot launcher bean
 */
@Component
public class BotLauncher implements CommandLineRunner {
    private static final Logger logger = LoggerFactory.getLogger(BotLauncher.class);