类 ParentContextApplicationContextInitializer

  • 所有已实现的接口:
    org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>, org.springframework.core.Ordered

    public class ParentContextApplicationContextInitializer
    extends Object
    implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>, org.springframework.core.Ordered
    ApplicationContextInitializer for setting the parent context. Also publishes ParentContextApplicationContextInitializer.ParentContextAvailableEvent when the context is refreshed to signal to other listeners that the context is available and has a parent.
    • 方法详细资料

      • setOrder

        public void setOrder​(int order)
      • getOrder

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

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