File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-context/src/main/java/org/springframework/jmx/export/annotation Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2012 the original author or authors.
2
+ * Copyright 2002-2014 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -70,7 +70,7 @@ public String resolveStringValue(String strVal) {
70
70
@ Override
71
71
public ManagedResource getManagedResource (Class <?> beanClass ) throws InvalidMetadataException {
72
72
org .springframework .jmx .export .annotation .ManagedResource ann =
73
- beanClass .getAnnotation (org .springframework .jmx .export .annotation .ManagedResource .class );
73
+ AnnotationUtils .getAnnotation (beanClass , org .springframework .jmx .export .annotation .ManagedResource .class );
74
74
if (ann == null ) {
75
75
return null ;
76
76
}
@@ -148,7 +148,7 @@ public ManagedOperationParameter[] getManagedOperationParameters(Method method)
148
148
149
149
@ Override
150
150
public ManagedNotification [] getManagedNotifications (Class <?> clazz ) throws InvalidMetadataException {
151
- ManagedNotifications notificationsAnn = clazz .getAnnotation (ManagedNotifications .class );
151
+ ManagedNotifications notificationsAnn = AnnotationUtils .getAnnotation (clazz , ManagedNotifications .class );
152
152
if (notificationsAnn == null ) {
153
153
return new ManagedNotification [0 ];
154
154
}
You can’t perform that action at this time.
0 commit comments