Package org.apache.struts2.config

# Interface ServletContextAwareConfigurationProvider

All Superinterfaces:
  `ConfigurationProvider`, `ContainerProvider`, `PackageProvider`

public interface ServletContextAwareConfigurationProvider extends ConfigurationProvider
Dedicated interface to allow inject `ServletContext` and perform initialisation based in it

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `initWithContext(jakarta.servlet.ServletContext servletContext)`
  This is a lazy constructor, called just after class was initiated

  ### Methods inherited from interface org.apache.struts2.config.ContainerProvider

  `destroy, init, needsReload, register`

  ### Methods 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 of `ServletContext`