Skip to content

Revise MBeanExporterHelper refelction logic in favor of direct ChannelInitializer.AutoCreateCandidatesCollector usage #10167

Closed
@artembilan

Description

@artembilan

The code for reflection has to go:

@SuppressWarnings("unchecked")
			Collection<String> autoCreateChannelCandidatesNames =
					(Collection<String>) new DirectFieldAccessor(bean).getPropertyValue("channelNames");

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions