类 ServletContextApplicationContextInitializer

  • 所有已实现的接口:
    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.
    从以下版本开始:
    2.0.0
    • 方法详细资料

      • setOrder

        public void setOrder​(int order)
      • getOrder

        public int getOrder()
        指定者:
        getOrder 在接口中 org.springframework.core.Ordered
      • initialize

        public void initialize​(org.springframework.web.context.ConfigurableWebApplicationContext applicationContext)
        指定者:
        initialize 在接口中 org.springframework.context.ApplicationContextInitializer<org.springframework.web.context.ConfigurableWebApplicationContext>