Interface EnvironmentPostProcessorsFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Factory interface used by the 
EnvironmentPostProcessorApplicationListener to
create the EnvironmentPostProcessor instances.- Since:
- 4.0.0
- Author:
- Phillip Webb
- 
Method SummaryModifier and TypeMethodDescriptionfromSpringFactories(@Nullable ClassLoader classLoader) Return aEnvironmentPostProcessorsFactorybacked byspring.factories.getEnvironmentPostProcessors(DeferredLogFactory logFactory, ConfigurableBootstrapContext bootstrapContext) Create all requestedEnvironmentPostProcessorinstances.of(@Nullable ClassLoader classLoader, String... classNames) Return aEnvironmentPostProcessorsFactorythat reflectively creates post processors from the given class names.Return aEnvironmentPostProcessorsFactorythat reflectively creates post processors from the given classes.Return aEnvironmentPostProcessorsFactorythat reflectively creates post processors from the given class names.
- 
Method Details- 
getEnvironmentPostProcessorsList<EnvironmentPostProcessor> getEnvironmentPostProcessors(DeferredLogFactory logFactory, ConfigurableBootstrapContext bootstrapContext) Create all requestedEnvironmentPostProcessorinstances.- Parameters:
- logFactory- a deferred log factory
- bootstrapContext- a bootstrap context
- Returns:
- the post processor instances
 
- 
fromSpringFactoriesReturn aEnvironmentPostProcessorsFactorybacked byspring.factories.- Parameters:
- classLoader- the source class loader
- Returns:
- an EnvironmentPostProcessorsFactoryinstance
 
- 
ofReturn aEnvironmentPostProcessorsFactorythat reflectively creates post processors from the given classes.- Parameters:
- classes- the post processor classes
- Returns:
- an EnvironmentPostProcessorsFactoryinstance
 
- 
ofReturn aEnvironmentPostProcessorsFactorythat reflectively creates post processors from the given class names.- Parameters:
- classNames- the post processor class names
- Returns:
- an EnvironmentPostProcessorsFactoryinstance
 
- 
ofReturn aEnvironmentPostProcessorsFactorythat reflectively creates post processors from the given class names.- Parameters:
- classLoader- the source class loader
- classNames- the post processor class names
- Returns:
- an EnvironmentPostProcessorsFactoryinstance
 
 
-