Skip to content

Create a common interface for AnnotationConfigApplicationContext and AnnotationConfigWebApplicationContext [SPR-11814] #16434

@spring-projects-issues

Description

@spring-projects-issues

Marek Wiącek opened SPR-11814 and commented

The AnnotationConfigApplicationContext and AnnotationConfigWebApplicationContext classes implement methods named "scan" and "register" but lack a common supertype with declarations of these 2 methods. Please create a common interface so that "scan" and "register" can be invoked without casting a context reference to a concrete implementation.


Affects: 4.0.4

Referenced from: commits b3e3c53

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions