Skip to content

Consider providing specific @RequestScoped etc annotations [SPR-5597] #10268

Closed
@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions