Fix circular dependency and checkstyle on ComponentCustomizationAutoConfiguration (#280)
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud.fn</groupId>
|
||||
<artifactId>spring-functions-parent</artifactId>
|
||||
<artifactId>java-functions-parent</artifactId>
|
||||
<version>${revision}</version>
|
||||
<relativePath>../../spring-functions-parent</relativePath>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>config-common</artifactId>
|
||||
|
||||
@@ -19,6 +19,7 @@ package org.springframework.cloud.fn.common.config;
|
||||
import org.springframework.beans.factory.config.BeanPostProcessor;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* An auto-configuration to expose customizer strategy beans to accept user-provided component customizers.
|
||||
@@ -29,6 +30,8 @@ import org.springframework.context.annotation.Bean;
|
||||
*
|
||||
* @see ComponentCustomizerBeanPostProcessor
|
||||
*/
|
||||
// @checkstyle:off HideUtilityClassConstructor
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class ComponentCustomizationAutoConfiguration {
|
||||
|
||||
@Bean
|
||||
@@ -36,5 +39,5 @@ public class ComponentCustomizationAutoConfiguration {
|
||||
static BeanPostProcessor componentCustomizerBeanPostProcessor() {
|
||||
return new ComponentCustomizerBeanPostProcessor();
|
||||
}
|
||||
|
||||
}
|
||||
// @checkstyle:on
|
||||
|
||||
Reference in New Issue
Block a user