Package org.springframework.boot.builder

Examples of org.springframework.boot.builder.ParentContextApplicationContextInitializer


      parent = (ApplicationContext) object;
      servletContext.setAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE, null);
    }
    SpringApplicationBuilder application = new SpringApplicationBuilder();
    if (parent != null) {
      application.initializers(new ParentContextApplicationContextInitializer(parent));
    }
    application.initializers(new ServletContextApplicationContextInitializer(servletContext));
    application.contextClass(AnnotationConfigEmbeddedWebApplicationContext.class);
    application = configure(application);
    // Ensure error pages are registered
View Full Code Here


      servletContext.setAttribute(
          WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE, null);
    }
    SpringApplicationBuilder application = new SpringApplicationBuilder();
    if (parent != null) {
      application.initializers(new ParentContextApplicationContextInitializer(
          parent));
    }
    application.initializers(new ServletContextApplicationContextInitializer(
        servletContext));
    application.contextClass(AnnotationConfigEmbeddedWebApplicationContext.class);
View Full Code Here

TOP

Related Classes of org.springframework.boot.builder.ParentContextApplicationContextInitializer

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.