Skip to content

New @Description annotation to add description field to BeanDefinition when using annotation based configuration [SPR-10583] #15212

@spring-projects-issues

Description

@spring-projects-issues

Niels Ull Harremoes opened SPR-10583 and commented

We are using bean descriptions from the xml config file to show in monitoring pages and jmx, much like the usecase described in https://jira.springsource.org/browse/SPR-4550 .

However, when using annotation- og java-based configuration (@Component or @Bean), it is not possible to set bean descriptions.

Could a @Description tag be added?


Affects: 3.2.3, 4.0 M1

Referenced from: commits c977101

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