Package org.apache.struts2.config
Interface ServletContextAwareConfigurationProvider
- All Superinterfaces:
ConfigurationProvider,ContainerProvider,PackageProvider
Dedicated interface to allow inject
ServletContext and perform initialisation based in it-
Method Summary
Modifier and TypeMethodDescriptionvoidinitWithContext(jakarta.servlet.ServletContext servletContext) This is a lazy constructor, called just after class was initiatedMethods inherited from interface org.apache.struts2.config.ContainerProvider
destroy, init, needsReload, registerMethods inherited from interface org.apache.struts2.config.PackageProvider
init, loadPackages, needsReload
-
Method Details
-
initWithContext
void initWithContext(jakarta.servlet.ServletContext servletContext) This is a lazy constructor, called just after class was initiated- Parameters:
servletContext- current instance ofServletContext
-