Package edu.ucsb.cs156.rec
Class ExampleApplication
java.lang.Object
edu.ucsb.cs156.rec.ExampleApplication
The ExampleApplication class is the main entry point for the application.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.ApplicationRunner
Hook that can be used to set up any services needed for developmentstatic void
The main method is the entry point for the application.org.springframework.boot.ApplicationRunner
When using the wiremock profile, this method will call the code needed to set up the wiremock services
-
Constructor Details
-
ExampleApplication
public ExampleApplication()
-
-
Method Details
-
wiremockApplicationRunner
@Profile("wiremock") @Bean public org.springframework.boot.ApplicationRunner wiremockApplicationRunner()When using the wiremock profile, this method will call the code needed to set up the wiremock services -
developmentApplicationRunner
@Profile("development") @Bean public org.springframework.boot.ApplicationRunner developmentApplicationRunner()Hook that can be used to set up any services needed for development -
main
The main method is the entry point for the application.- Parameters:
args
- command line arguments, typically unused for Spring Boot applications
-