Interface ConfigurationBeanCustomizer
-
- All Superinterfaces:
org.springframework.core.Ordered
public interface ConfigurationBeanCustomizer extends org.springframework.core.Ordered
A callback interface that allows for customizing a configuration bean after it has been bound but before it is registered in the Spring application context.Implementations of this interface can perform additional processing or modifications on the configuration bean. If multiple
ConfigurationBeanCustomizer
beans are present, they will be executed in the order determined by theOrdered
interface.Example Usage
{@code public class MyConfigurationBeanCustomizer implements ConfigurationBeanCustomizer { private final int order; public MyConfigurationBeanCustomizer(int order) { this.order = order; }
- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
ConfigurationBeanBinder
,ConfigurationBeanBindingPostProcessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
customize(java.lang.String beanName, java.lang.Object configurationBean)
Customize the configuration bean
-