Status Quo
As discussed in #26443, the Resources section of the reference documentation is very outdated, focusing primarily on XML-based configuration of the resource locations for the ApplicationContext and not directly mentioning ResourcePatternResolver at all.
Deliverables
- [x] Document the
ResourcePatternResolverAPI as an alternative to theResourceLoaderAPI. - [x] Document
PathResourceas a built-inResource. - [x] Consider providing examples where resources are injected into fields of type
ResourceorResource[]in@Configurationclasses or annotated components via@Autowiredor@Valuesemantics.
Comment From: sbrannen
@nightswimmings, I've completed all planned changes to the Resources section of the reference manual.
Please take a look and let us know if we've addressed all of the concerns you raised in #26443.
Comment From: nightswimmings
@sbrannen Much clearer now, thanks!!