org.springframework.boot.context.config

Class DelegatingApplicationContextInitializer

  • java.lang.Object
    • org.springframework.boot.context.config.DelegatingApplicationContextInitializer
  • All Implemented Interfaces:
    org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>, org.springframework.core.Ordered


    public class DelegatingApplicationContextInitializer
    extends Object
    implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>, org.springframework.core.Ordered
    ApplicationContextInitializer that delegates to other initializers that are specified under a context.initializer.classes environment property.
    Since:
    1.0.0
    Author:
    Dave Syer, Phillip Webb
    • Constructor Detail

      • DelegatingApplicationContextInitializer

        public DelegatingApplicationContextInitializer()
    • Method Detail

      • initialize

        public void initialize(org.springframework.context.ConfigurableApplicationContext context)
        Specified by:
        initialize in interface org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
      • setOrder

        public void setOrder(int order)
      • getOrder

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

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.