Class YamlPropertySourceApp.MyRunner

java.lang.Object
info.ejava.examples.app.config.propertysource.annotation.YamlPropertySourceApp.MyRunner
All Implemented Interfaces:
org.springframework.boot.CommandLineRunner
Enclosing class:
YamlPropertySourceApp

static class YamlPropertySourceApp.MyRunner extends Object implements org.springframework.boot.CommandLineRunner
  • Field Details

    • text

      @Value("${app.audience}") String text
  • Constructor Details

    • MyRunner

      MyRunner()
  • Method Details

    • run

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