Skip to content

Fix for @Secondary and @Primary not used with @Factory @Bean methods #253

Closed
@rbygrave

Description

@rbygrave

The @Factory @Bean methods are not using the @Primary and @Secondary annotations to control the priority of those beans.

In addition, ideally for @Secondary @Bean methods we delay the invocation such that these beans are not initialized unless they are indeed wired.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions