@ -29,6 +29,7 @@ import org.springframework.beans.factory.BeanFactory;
@@ -29,6 +29,7 @@ import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.BeanFactoryAware ;
import org.springframework.beans.factory.config.ConfigurableBeanFactory ;
import org.springframework.beans.factory.config.EmbeddedValueResolver ;
import org.springframework.core.annotation.AnnotatedElementUtils ;
import org.springframework.core.annotation.AnnotationUtils ;
import org.springframework.jmx.export.metadata.InvalidMetadataException ;
import org.springframework.jmx.export.metadata.JmxAttributeSource ;
@ -106,7 +107,7 @@ public class AnnotationJmxAttributeSource implements JmxAttributeSource, BeanFac
@@ -106,7 +107,7 @@ public class AnnotationJmxAttributeSource implements JmxAttributeSource, BeanFac
public org . springframework . jmx . export . metadata . ManagedOperationParameter [ ] getManagedOperationParameters ( Method method )
throws InvalidMetadataException {
Set < ManagedOperationParameter > anns = Annotation Utils . getRepeatableAnnotations (
Set < ManagedOperationParameter > anns = AnnotatedElement Utils . getMerged RepeatableAnnotations (
method , ManagedOperationParameter . class , ManagedOperationParameters . class ) ;
return copyPropertiesToBeanArray ( anns , org . springframework . jmx . export . metadata . ManagedOperationParameter . class ) ;
}
@ -115,7 +116,7 @@ public class AnnotationJmxAttributeSource implements JmxAttributeSource, BeanFac
@@ -115,7 +116,7 @@ public class AnnotationJmxAttributeSource implements JmxAttributeSource, BeanFac
public org . springframework . jmx . export . metadata . ManagedNotification [ ] getManagedNotifications ( Class < ? > clazz )
throws InvalidMetadataException {
Set < ManagedNotification > anns = Annotation Utils . getRepeatableAnnotations (
Set < ManagedNotification > anns = AnnotatedElement Utils . getMerged RepeatableAnnotations (
clazz , ManagedNotification . class , ManagedNotifications . class ) ;
return copyPropertiesToBeanArray ( anns , org . springframework . jmx . export . metadata . ManagedNotification . class ) ;
}