Move the class to a more suitable package, and load the files from META-INF/spring/<fqn>.imports See gh-29872