Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve reference documentation on Resources #26447

Closed
3 tasks done
sbrannen opened this issue Jan 26, 2021 · 2 comments
Closed
3 tasks done

Improve reference documentation on Resources #26447

sbrannen opened this issue Jan 26, 2021 · 2 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: documentation A documentation task
Milestone

Comments

@sbrannen
Copy link
Member

sbrannen commented Jan 26, 2021

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.
@sbrannen sbrannen added type: documentation A documentation task in: core Issues in core modules (aop, beans, core, context, expression) labels Jan 26, 2021
@sbrannen sbrannen added this to the 5.3.4 milestone Jan 26, 2021
@sbrannen sbrannen self-assigned this Jan 26, 2021
@sbrannen
Copy link
Member Author

@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.

@nightswimmings
Copy link

@sbrannen Much clearer now, thanks!!

lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this issue Mar 26, 2022
lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this issue Mar 26, 2022
lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this issue Mar 26, 2022
lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this issue Mar 26, 2022
lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this issue Mar 26, 2022
lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this issue Mar 26, 2022
lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this issue Mar 26, 2022
lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this issue Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

2 participants