Skip to content
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

SPR-14754 - Add EnableWebReactive + WebReactiveConfigurer #1202

Closed
wants to merge 1 commit into from

Conversation

bclozel
Copy link
Member

@bclozel bclozel commented Oct 13, 2016

This commit improves the existing web reactive configuration
infrastructure with the following changes:

  • renamed WebReactiveConfiguration to
    WebReactiveConfigurationSupport and is is no longer a Configuration
    class
  • created the WebReactiveConfigurer interface; Configuration classes
    implementing it will augment the web reactive configuration support
  • created the DelegatingWebReactiveConfiguration and
    WebReactiveConfigurerComposite to effectively tie those custom-defined
    configurers to the main configuration support
  • created the @EnableWebReactive to active that support in
    configuration classes

Issue: SPR-14754

This commit improves the existing web reactive configuration
infrastructure with the following changes:

* renamed `WebReactiveConfiguration` to
`WebReactiveConfigurationSupport` and is is no longer a Configuration
class
* created the `WebReactiveConfigurer` interface; Configuration classes
implementing it will augment the web reactive configuration support
* created the `DelegatingWebReactiveConfiguration` and
`WebReactiveConfigurerComposite` to effectively tie those custom-defined
configurers to the main configuration support
* created the `@EnableWebReactive` to active that support in
configuration classes

Issue: SPR-14754
@bclozel bclozel changed the title Add EnableWebReactive + WebReactiveConfigurer SPR-14754 - Add EnableWebReactive + WebReactiveConfigurer Oct 13, 2016
@bclozel
Copy link
Member Author

bclozel commented Oct 13, 2016

Hey @sdeleuze @rstoyanchev @poutsma

I've got a draft PR for improving our configuration infrastructure for web reactive. Nothing ground-breaking here, since it pretty much mirrors what we have on the MVC side. I've made one significant change: I've dropped the ConfigurerAdapter class and directly added default methods in the WebReactiveConfiguration interface.

rstoyanchev added a commit that referenced this pull request Oct 14, 2016
@rstoyanchev
Copy link
Contributor

@bclozel, I've merged the PR. I made some improvements in the WebReactiveConfigurerComposite to streamline the delegation to WebReactiveConfigurer to pre-create custom bean instances. And also applied some polish. Thanks!

@dawud-tan
Copy link

nice.. :D

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

Successfully merging this pull request may close these issues.

None yet

3 participants