Class InitializeContext

  • All Implemented Interfaces:
    org.springframework.context.ApplicationContextInitializer<org.springframework.web.context.ConfigurableWebApplicationContext>

    public class InitializeContext
    extends Object
    implements org.springframework.context.ApplicationContextInitializer<org.springframework.web.context.ConfigurableWebApplicationContext>
    Performs the standard context preparation from SpringContextUtils.prepareContext(ApplicationContext) as well as some more specific Web-related setups.
    Author:
    keshav, pavlidis, Matt Raible (original version), poirigui
    • Constructor Detail

      • InitializeContext

        public InitializeContext()
    • Method Detail

      • initialize

        public void initialize​(org.springframework.web.context.ConfigurableWebApplicationContext applicationContext)
        Specified by:
        initialize in interface org.springframework.context.ApplicationContextInitializer<org.springframework.web.context.ConfigurableWebApplicationContext>