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 SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe name of the system property that describes where to load configuration properties from.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
LOCATION_PROPERTYThe name of the system property that describes where to load configuration properties from.- See Also:
 
 
- 
- 
Constructor Details- 
WebApplicationConfigpublic WebApplicationConfig()
 
- 
- 
Method Details- 
onStartuppublic void onStartup(jakarta.servlet.ServletContext container) throws jakarta.servlet.ServletException - Specified by:
- onStartupin interface- WebApplicationInitializer
- Throws:
- jakarta.servlet.ServletException
 
- 
mainSpring Boot entry point.- Parameters:
- args- Command line arguments.
 
 
-