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
FieldsModifier and TypeFieldDescriptionstatic final Stringprivate final ProfileSourceResolvestatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpostProcessBeanFactory(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:
postProcessBeanFactoryin interfaceBeanFactoryPostProcessor- Parameters:
defaultBeanFactory- The DefaultBringBeanFactory to be processed.
-