Skip to content

@EnableMBeanExport exposes scoped proxies and their targets [SPR-12529] #17134

@spring-projects-issues

Description

@spring-projects-issues

Dave Syer opened SPR-12529 and commented

If you have a @ManagedResource on a scoped proxy (e.g. with @Lazy @Scope(proxyMode = ScopedProxyMode.TARGET_CLASS)) then @EnableMBeanExport will expose 2 MBeans.


Affects: 4.1.3

Referenced from: commits cae217d

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions