Package com.bobocode.bring.core.bfpp
Class BeanPostProcessorDefinitionFactory
java.lang.Object
com.bobocode.bring.core.bfpp.BeanPostProcessorDefinitionFactory
The
BeanPostProcessorDefinitionFactory class is responsible for creating and managing a list
of BeanFactoryPostProcessor instances. It initializes the list with default post-processors,
such as the ConfigurationClassPostProcessor.
This class is typically used to provide additional processing during the startup of the BringApplicationContext to handle configuration class annotations and perform necessary tasks.
The default post-processor included in the list is:
ConfigurationClassPostProcessor: Processes configuration classes and their annotations.
Usage example:
BeanPostProcessorDefinitionFactory processorFactory = new BeanPostProcessorDefinitionFactory();
List<BeanFactoryPostProcessor> processors = processorFactory.getBeanFactoryPostProcessors();
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<? extends BeanFactoryPostProcessor> The list of bean factory post-processors created by this factory. -
Constructor Summary
ConstructorsConstructorDescriptionBeanPostProcessorDefinitionFactory(org.reflections.Reflections reflections) Constructs a new BeanPostProcessorDefinitionFactory and initializes the list of post-processors. -
Method Summary
-
Field Details
-
beanFactoryPostProcessors
The list of bean factory post-processors created by this factory.
-
-
Constructor Details
-
BeanPostProcessorDefinitionFactory
public BeanPostProcessorDefinitionFactory(org.reflections.Reflections reflections) Constructs a new BeanPostProcessorDefinitionFactory and initializes the list of post-processors.The default post-processor included in the list is the
ConfigurationClassPostProcessor.- See Also:
-