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
FieldsModifier and TypeFieldDescriptionstatic final String
The name of the system property that describes where to load configuration properties from. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOCATION_PROPERTY
The name of the system property that describes where to load configuration properties from.- See Also:
-
-
Constructor Details
-
WebApplicationConfig
public WebApplicationConfig()
-
-
Method Details
-
onStartup
public void onStartup(jakarta.servlet.ServletContext container) throws jakarta.servlet.ServletException - Specified by:
onStartup
in interfaceWebApplicationInitializer
- Throws:
jakarta.servlet.ServletException
-
main
Spring Boot entry point.- Parameters:
args
- Command line arguments.
-