File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
spring-aop/src/main/java/org/springframework/aop/aspectj/annotation
spring-context/src/main/java/org/springframework/context/support Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -167,8 +167,7 @@ protected static class AspectJAnnotation<A extends Annotation> {
167
167
168
168
private static final String [] EXPRESSION_PROPERTIES = new String [] {"value" , "pointcut" };
169
169
170
- private static Map <Class <?>, AspectJAnnotationType > annotationTypes =
171
- new HashMap <>();
170
+ private static Map <Class <?>, AspectJAnnotationType > annotationTypes = new HashMap <>();
172
171
173
172
static {
174
173
annotationTypes .put (Pointcut .class ,AspectJAnnotationType .AtPointcut );
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2013 the original author or authors.
2
+ * Copyright 2002-2016 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.
29
29
*
30
30
* <p>In case of multiple configuration files, bean definitions in later files
31
31
* will override those defined in earlier files. This can be leveraged to
32
- * deliberately override certain bean definitions via an extra configuration file.
32
+ * intentionally override certain bean definitions via an extra configuration
33
+ * file appended to the list.
33
34
*
34
35
* @author Juergen Hoeller
35
36
* @author Chris Beams
@@ -108,6 +109,11 @@ public void setEnvironment(ConfigurableEnvironment environment) {
108
109
this .reader .setEnvironment (getEnvironment ());
109
110
}
110
111
112
+
113
+ //---------------------------------------------------------------------
114
+ // Convenient methods for loading XML bean definition files
115
+ //---------------------------------------------------------------------
116
+
111
117
/**
112
118
* Load bean definitions from the given XML resources.
113
119
* @param resources one or more resources to load from
You can’t perform that action at this time.
0 commit comments