Class ConfigurationBeanBindingPostProcessor
- java.lang.Object
-
- io.microsphere.spring.beans.factory.annotation.ConfigurationBeanBindingPostProcessor
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.config.BeanPostProcessor
,org.springframework.core.Ordered
,org.springframework.core.PriorityOrdered
public class ConfigurationBeanBindingPostProcessor extends java.lang.Object implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.BeanFactoryAware, org.springframework.core.PriorityOrdered
TheBeanPostProcessor
class to bind the configuration bean- Since:
- 1.0.0
- Author:
- Mercy
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BEAN_NAME
The bean name ofConfigurationBeanBindingPostProcessor
-
Constructor Summary
Constructors Constructor Description ConfigurationBeanBindingPostProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationBeanBinder
getConfigurationBeanBinder()
java.util.List<ConfigurationBeanCustomizer>
getConfigurationBeanCustomizers()
Get theList
ofConfigurationBeanCustomizers
int
getOrder()
java.lang.Object
postProcessAfterInitialization(java.lang.Object bean, java.lang.String beanName)
java.lang.Object
postProcessBeforeInitialization(java.lang.Object bean, java.lang.String beanName)
void
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
void
setConfigurationBeanBinder(ConfigurationBeanBinder configurationBeanBinder)
void
setConfigurationBeanCustomizers(java.util.Collection<ConfigurationBeanCustomizer> configurationBeanCustomizers)
void
setOrder(int order)
Set the order for current instance
-
-
-
Field Detail
-
BEAN_NAME
public static final java.lang.String BEAN_NAME
The bean name ofConfigurationBeanBindingPostProcessor
- See Also:
- Constant Field Values
-
-
Method Detail
-
postProcessBeforeInitialization
public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean, java.lang.String beanName) throws org.springframework.beans.BeansException
- Specified by:
postProcessBeforeInitialization
in interfaceorg.springframework.beans.factory.config.BeanPostProcessor
- Throws:
org.springframework.beans.BeansException
-
postProcessAfterInitialization
public java.lang.Object postProcessAfterInitialization(java.lang.Object bean, java.lang.String beanName) throws org.springframework.beans.BeansException
- Specified by:
postProcessAfterInitialization
in interfaceorg.springframework.beans.factory.config.BeanPostProcessor
- Throws:
org.springframework.beans.BeansException
-
setOrder
public void setOrder(int order)
Set the order for current instance- Parameters:
order
- the order
-
getConfigurationBeanBinder
public ConfigurationBeanBinder getConfigurationBeanBinder()
-
setConfigurationBeanBinder
public void setConfigurationBeanBinder(ConfigurationBeanBinder configurationBeanBinder)
-
getConfigurationBeanCustomizers
public java.util.List<ConfigurationBeanCustomizer> getConfigurationBeanCustomizers()
Get theList
ofConfigurationBeanCustomizers
- Returns:
- non-null
- Since:
- 1.0.0
-
setConfigurationBeanCustomizers
public void setConfigurationBeanCustomizers(java.util.Collection<ConfigurationBeanCustomizer> configurationBeanCustomizers)
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
- Specified by:
setBeanFactory
in interfaceorg.springframework.beans.factory.BeanFactoryAware
- Throws:
org.springframework.beans.BeansException
-
getOrder
public int getOrder()
- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
-