Class SampleCommandLineRunner

java.lang.Object
io.spring.task.SampleCommandLineRunner
All Implemented Interfaces:
org.springframework.boot.CommandLineRunner

@Component public class SampleCommandLineRunner extends Object implements org.springframework.boot.CommandLineRunner
Author:
Michael Minella
  • Constructor Details

    • SampleCommandLineRunner

      @Autowired public SampleCommandLineRunner(List<DataSource> dataSources)
  • Method Details

    • run

      public void run(String... args) throws Exception
      Specified by:
      run in interface org.springframework.boot.CommandLineRunner
      Throws:
      Exception