Skip to content

Improve reference documentation on Resources #26447

@sbrannen

Description

@sbrannen

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

  • Document the ResourcePatternResolver API as an alternative to the ResourceLoader API.
  • Document PathResource as a built-in Resource.
  • Consider providing examples where resources are injected into fields of type Resource or Resource[] in @Configuration classes or annotated components via @Autowired or @Value semantics.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions