Closed as not planned
Closed as not planned
Description
I have a bean that implements NotificationPublisherAware
in order to send JMX notifications.
I put then this bean to MBeanExporter
's Bean Map:
Map<String, Object> beans = new HashMap<>();
String key = someName;
beans.put(key, jmxNotificationSender);
exporter.setBeans(beans);
In this way created MBeanExporter
bean then tries to prepare my jmxNotificationSender
. Among others exporter invokes createAndConfigureMBean
method, which in turn uses MBeanInfoAssembler
to scan jmxNotificationSender
to obtain some information. I could trace down, that AbstractReflectiveMBeanInfoAssembler
as an implementation is used here. This AbstractReflectiveMBeanInfoAssembler
invokes getOperationParameters
method, which actually causes the warning since it discovers method parameters (introspection).
Will this issue somehow be handled in the future?
Tested with Spring Framework 6.0.9 and Java 17