Class WebApplicationConfig
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.web.WebApplicationConfig
- All Implemented Interfaces:
WebApplicationInitializer
@SpringBootApplication public class WebApplicationConfig extends Object implements WebApplicationInitializer
Main web-app entry point. Launches the rest of the application and replaces
web.xml.
-
Field Summary
Fields Modifier and Type Field Description static String
LOCATION_PROPERTY
The name of the system property that describes where to load configuration properties from. -
Constructor Summary
Constructors Constructor Description WebApplicationConfig()
-
Method Summary
Modifier and Type Method Description static void
main(String[] args)
Spring Boot entry point.void
onStartup(ServletContext container)
-
Field Details
-
LOCATION_PROPERTY
The name of the system property that describes where to load configuration properties from.- See Also:
- Constant Field Values
-
-
Constructor Details
-
WebApplicationConfig
public WebApplicationConfig()
-
-
Method Details
-
onStartup
- Specified by:
onStartup
in interfaceWebApplicationInitializer
- Throws:
ServletException
-
main
Spring Boot entry point.- Parameters:
args
- Command line arguments.
-