Class ValuePropertiesPostProcessor
java.lang.Object
com.bobocode.bring.core.bfpp.impl.ValuePropertiesPostProcessor
- All Implemented Interfaces:
BeanFactoryPostProcessor
This post processor populates properties for the DefaultBringBeanFactory using ProfileSourceResolve.
It sets properties for the factory based on profiles found in bean definitions.
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
private final ProfileSourceResolve
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
postProcessBeanFactory
(DefaultBringBeanFactory defaultBeanFactory) Processes the DefaultBringBeanFactory to populate properties based on profiles in bean definitions.
-
Field Details
-
PROPERTIES
- See Also:
-
ACTIVE_PROFILE_KEY
- See Also:
-
profileSourceResolve
-
-
Constructor Details
-
ValuePropertiesPostProcessor
public ValuePropertiesPostProcessor()
-
-
Method Details
-
postProcessBeanFactory
Processes the DefaultBringBeanFactory to populate properties based on profiles in bean definitions.- Specified by:
postProcessBeanFactory
in interfaceBeanFactoryPostProcessor
- Parameters:
defaultBeanFactory
- The DefaultBringBeanFactory to be processed.
-