Consider providing specific @RequestScoped etc annotations [SPR-5597] #10268
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
Chris Beams opened SPR-5597 and commented
Currently, StandardScopes is available in the .context.annotation package, after having been moved over from .context.java.
This may not be the best place for it; decide on better packaging and move it accordingly.
Also, consider updating references throughout the codebase to BeanDefintion.SCOPE_SINGLETON to refer to StandardScopes.SINGLETON, etc.
At any rate, the goal is to place this class prominently in the 3.0 packaging and advertise its use in the reference documentation, esp. in conjunction with the
@Scope
annotation.1 votes, 2 watchers
The text was updated successfully, but these errors were encountered: