Skip to content

Conversation

livk-cloud
Copy link

@livk-cloud livk-cloud commented Nov 30, 2023

  • Use ImportCandidates#load instead of SpringFactoriesLoader#loadFactoryNames
  • Use EnvironmentPostProcessorsFactory#getEnvironmentPostProcessors instead of SpringFactoriesLoader#loadFactoryNames

There is currently no better way to use SpringFactoriesLoader#loadFactoryNames in org.springframework.cloud.commons.util.SpringFactoryImportSelector#selectImports.
This may not necessarily produce better results, but isn't it a better thing to remove these obsolete methods
I hope the Spring Cloud team will come up with a better opinion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants