Class ServletContextApplicationContextInitializer

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

    public class ServletContextApplicationContextInitializer
    extends Object
    implements org.springframework.context.ApplicationContextInitializer<org.springframework.web.context.ConfigurableWebApplicationContext>, org.springframework.core.Ordered
    ApplicationContextInitializer for setting the servlet context.
    Since:
    2.0.0
    • Method Detail

      • setOrder

        public void setOrder​(int order)
      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • initialize

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