Class BeanPostProcessorDefinitionFactory

java.lang.Object
com.bobocode.bring.core.bfpp.BeanPostProcessorDefinitionFactory

public class BeanPostProcessorDefinitionFactory extends Object
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:

Usage example:


 BeanPostProcessorDefinitionFactory processorFactory = new BeanPostProcessorDefinitionFactory();
 List<BeanFactoryPostProcessor> processors = processorFactory.getBeanFactoryPostProcessors();
 
Since:
1.0
Author:
Blyzhnytsia Team
See Also:
  • Field Details

    • beanFactoryPostProcessors

      private final List<? extends BeanFactoryPostProcessor> 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: