Skip to content

DatabaseInitializationDependencyConfigurer should not inject the Environment #29475

@snicoll

Description

@snicoll

Considering that DependsOnDatabaseInitializationPostProcessor is a BeanFactoryPostProcessor it should use EnvironmentAware to get a hold of the environment rather than the current dependency resolution.

The current arrangement could trigger early initialization of factory beans

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions