Skip to content

Spring Boot: use hierarchy of the contexts #377

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
php-coder opened this issue Apr 11, 2016 · 1 comment
Open

Spring Boot: use hierarchy of the contexts #377

php-coder opened this issue Apr 11, 2016 · 1 comment
Labels

Comments

@php-coder
Copy link
Owner

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

@php-coder php-coder changed the title Use hierarchy of the contexts Spring Boot: use hierarchy of the contexts Apr 11, 2016
@php-coder php-coder added the dependency/spring Task is related to Spring Framework label May 12, 2017
@php-coder
Copy link
Owner Author

php-coder commented Aug 29, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant