Skip to content

Allow Application Server to Supply Annotation Scanning [SPR-10354] #14986

Closed as not planned
@spring-projects-issues

Description

@spring-projects-issues

Philippe Marschall opened SPR-10354 and commented

These days every container has to do component scanning because more or less every EE specification — even servlets — requires the application server to discover classes annotated in a special way.

Since the application server controls the class loaders and deployments it's able to do so in an a reliable, stable and possibly more performant way compared to Spring. As application severs are beginning to fight over start up performance this an area that receives a lot of attention. Some like JBoss even go so far as to allow you to provide an index build at compile time to speed this up even further.

As Spring has always been about taking advantage of services provided by applications servers in a portable way that doesn't lock you in I think you would be a great feature.


Issue Links:

0 votes, 5 watchers

Metadata

Metadata

Assignees

No one assigned

    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