Skip to content

Commit

Permalink
Make WebServerFactoryCustomizerBeanPostProcessor registration GraalVM…
Browse files Browse the repository at this point in the history
… native compliant.

Closes gh-272
  • Loading branch information
sdeleuze committed Jun 6, 2020
1 parent 4a1b519 commit 7c17c96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public ServletWebServerInitializer(ServerProperties serverProperties, WebMvcProp

@Override
public void initialize(GenericApplicationContext context) {
context.registerBean("webServerFactoryCustomizerBeanPostProcessor", WebServerFactoryCustomizerBeanPostProcessor.class);
context.registerBean("webServerFactoryCustomizerBeanPostProcessor", WebServerFactoryCustomizerBeanPostProcessor.class, WebServerFactoryCustomizerBeanPostProcessor::new);
context.registerBean(WebMvcProperties.class, () -> this.webMvcProperties);
context.registerBean(ServletWebServerFactoryAutoConfiguration.BeanPostProcessorsRegistrar.class, ServletWebServerFactoryAutoConfiguration.BeanPostProcessorsRegistrar::new);
context.registerBean(TomcatServletWebServerFactory.class, () -> new ServletWebServerFactoryConfiguration.EmbeddedTomcat().tomcatServletWebServerFactory(
Expand Down

0 comments on commit 7c17c96

Please sign in to comment.