Package org.springframework.boot.context

Examples of org.springframework.boot.context.ContextIdApplicationContextInitializer


   * Initialize this module by creating its application context, and provide it with a special
   * {@link org.springframework.core.env.Environment} that knows how to resolve module options placeholders.
   */
  @Override
  public void initialize() {
    this.application.initializers(new ContextIdApplicationContextInitializer(this.toString()));
    ConfigurableEnvironment parentEnvironment = parent == null ? null
        : parent.getEnvironment();
    ModuleEnvironment environment = new ModuleEnvironment(moduleOptions.asPropertySource(), parentEnvironment);
    for (PropertySource<?> source : propertySources) {
      environment.getPropertySources().addFirst(source);
View Full Code Here

TOP

Related Classes of org.springframework.boot.context.ContextIdApplicationContextInitializer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.