Interface EnvironmentAware

All Superinterfaces:
Aware
All Known Implementing Classes:
AbstractRequestLoggingFilter, CharacterEncodingFilter, CommonsRequestLoggingFilter, ConfigurationClassPostProcessor, CorsFilter, DelegatingFilterProxy, DispatcherServlet, DynamicPropertyRegistrarBeanInitializer, FormContentFilter, ForwardedHeaderFilter, FrameworkServlet, GenericFilterBean, HiddenHttpMethodFilter, HttpServletBean, MBeanExportConfiguration, MultipartFilter, OncePerRequestFilter, OpenEntityManagerInViewFilter, OpenSessionInViewFilter, PropertySourcesPlaceholderConfigurer, RelativeRedirectFilter, RequestContextFilter, ResourceUrlEncodingFilter, ServerHttpObservationFilter, ServletContextRequestLoggingFilter, ShallowEtagHeaderFilter, UrlHandlerFilter

public interface EnvironmentAware extends Aware
Interface to be implemented by any bean that wishes to be notified of the Environment that it runs in.
Since:
3.1
Author:
Chris Beams
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Set the Environment that this component runs in.
  • Method Details

    • setEnvironment

      void setEnvironment(Environment environment)
      Set the Environment that this component runs in.