Skip to content

Spring Boot: use hierarchy of the contexts #377

Open
@php-coder

Description

@php-coder

During migration to Spring Boot we switched back to using a single context.

Example:

- SpringApplication.run(ApplicationBootstrap.class, args);
+ new SpringApplicationBuilder()
+ .parent(ApplicationContext.class)
+ .child(DispatcherServletContext.class, H2Config.class, ErrorPagesServletContainerCustomizer.class)
+ .run(args);

See also: http://docs.spring.io/spring-boot/docs/1.3.3.RELEASE/reference/htmlsingle/#boot-features-fluent-builder-api

Tech debt for: #75

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions