Fix package tangle by changing `ApplicationContextFactory.DEFAULT` to use `spring.factories` to discover implementations rather than needing direct access to our own `ApplicationContext` classes. Closes gh-30272
Fix package tangle by changing `ApplicationContextFactory.DEFAULT` to use `spring.factories` to discover implementations rather than needing direct access to our own `ApplicationContext` classes. Closes gh-30272