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 Summary
-
Method Summary
-
Constructor Details
-
SpringMain
public SpringMain()
-
-
Method Details
-
main
-
run
This method is started by Spring, once the Spring context has been loaded. This is run, as this class implementsCommandLineRunner
- Specified by:
run
in interfaceorg.springframework.boot.CommandLineRunner
- Throws:
Exception
-