com.opensymphony.xwork2.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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `initWithContext(javax.servlet.ServletContext servletContext)` This is a lazy constructor, called just after class was initiated

    - ### Methods inherited from interface com.opensymphony.xwork2.config.ContainerProvider

      `destroy, init, needsReload, register`

    - ### Methods inherited from interface com.opensymphony.xwork2.config.PackageProvider

      `init, loadPackages, needsReload`

- - ### Method Detail

    - #### initWithContext

          void initWithContext(javax.servlet.ServletContext servletContext)

      This is a lazy constructor, called just after class was initiated
      Parameters:
        `servletContext` - current instance of `ServletContext`

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.