org.springframework.web.context

Interface ServletConfigAware

  • All Superinterfaces:
    Aware
    All Known Implementing Classes:
    SimpleServletPostProcessor


    public interface ServletConfigAware
    extends Aware
    Interface to be implemented by any object that wishes to be notified of the ServletConfig (typically determined by the WebApplicationContext) that it runs in.

    Note: Only satisfied if actually running within a Servlet-specific WebApplicationContext. Otherwise, no ServletConfig will be set.

    Since:
    2.0
    Author:
    Juergen Hoeller, Chris Beams
    See Also:
    ServletContextAware