Class SpringMain

java.lang.Object
com.graphql_java_generator.samples.forum.SpringMain
All Implemented Interfaces:
org.springframework.boot.CommandLineRunner

@SpringBootApplication(scanBasePackageClasses={SpringMain.class,com.graphql_java_generator.client.GraphqlClientUtils.class,QueryExecutor.class}) public class SpringMain extends Object implements org.springframework.boot.CommandLineRunner
A Spring Boot client app. Very easy to use and to configure.
Author:
etienne-sf
  • Constructor Details

    • SpringMain

      public SpringMain()
  • Method Details

    • main

      public static void main(String[] args)
    • run

      public void run(String... args) throws Exception
      This method is started by Spring, once the Spring context has been loaded. This is run, as this class implements CommandLineRunner
      Specified by:
      run in interface org.springframework.boot.CommandLineRunner
      Throws:
      Exception