List of usage examples for org.springframework.boot CommandLineRunner interface-usage
From source file example.app.web.RepositoryExampleRestWebApplication.java
/**
* The RepositoryExampleRestWebApplication class is a {@link SpringBootApplication} demonstrating how to make
* the Repository example application {@link ContactRepository} interface REST-ful using Spring Data REST.
*
* @author John Blum
* @see org.springframework.boot.CommandLineRunner
From source file com.somerledsolutions.pa11y.client.Application.java
@SpringBootApplication public class Application implements CommandLineRunner { @Autowired private Pa11yRestClient client;
From source file org.elasticsearch.logstash.Application.java
@Configuration @EnableAutoConfiguration @ComponentScan public class Application implements CommandLineRunner { @Bean
From source file com.github.lynxdb.server.run.Run.java
/** * * @author cambierr */ @SpringBootApplication @ComponentScan(basePackages = "com.github.lynxdb.server")
From source file uk.gov.nationalarchives.discovery.taxonomy.cli.CLIRunner.java
@Component public class CLIRunner implements CommandLineRunner { private static final String ACTION_HELP = "help"; private static final String ACTION_INDEX = "TSETindex";
From source file org.openlmis.fulfillment.AuditLogInitializer.java
/**
* AuditLogInitializer runs after its associated Spring application has loaded.
* It examines each domain object in the database and registers them with JaVers
* if they haven't already been so. This is, in part, a fix for
* <a href="https://github.com/javers/javers/issues/214">this issue</a>.
*/
From source file com.ericsson.eiffel.remrem.publish.cli.CLI.java
/**
* Class for interpreting the passed arguments from command line.
* Parse method returns true, meaning we need to start the service afterwards, if no argument
* is given. The same method returns false, meaning we do not start the service afterwards, if any
* argument is given. If an argument is given that it is not recognized we print help
*
From source file sample.data.jpa.SampleDataRestApplication.java
@SpringBootApplication public class SampleDataRestApplication implements CommandLineRunner { @Autowired private AccountRepository accountRepository;
From source file gr.cti.android.experimentation.Application.java
@SpringBootApplication @Configuration @ComponentScan(basePackages = "gr.cti.android.experimentation") @PropertySource("classpath:application.properties") @EnableAsync @EnableSwagger2
From source file org.openbaton.nfvo.cli.OpenbatonCLI.java
/**
* A Bridge for either executing the openbaton shell standalone or in an existing spring boot
* environment that either leads to calls of the main() or the run() method.
*/
@Component
@Order(Ordered.LOWEST_PRECEDENCE)