File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
java/org/springframework/context/annotation
resources/org/springframework/context/config Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2015 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.
125
125
126
126
/**
127
127
* Specifies which types are eligible for component scanning.
128
- * <p>Further narrows the set of candidate components from everything in
129
- * {@link #basePackages} to everything in the base packages that matches
130
- * the given filter or filters.
131
- * @see #resourcePattern
128
+ * <p>Further narrows the set of candidate components from everything in {@link #basePackages}
129
+ * to everything in the base packages that matches the given filter or filters.
130
+ * <p>Note that these filters will be applied in addition to the default filters, if specified.
131
+ * Any type under the specified base packages which matches a given filter will be included,
132
+ * even if it does not match the default filters (i.e. is not annotated with {@code @Component}).
133
+ * @see #resourcePattern()
134
+ * @see #useDefaultFilters()
132
135
*/
133
136
Filter [] includeFilters () default {};
134
137
Original file line number Diff line number Diff line change 235
235
<xsd : annotation >
236
236
<xsd : documentation ><![CDATA[
237
237
Controls which eligible types to include for component scanning.
238
+ Note that these filters will be applied in addition to the default filters, if specified.
239
+ Any type under the specified base packages which matches a given filter will be included,
240
+ even if it does not match the default filters (i.e. is not annotated with @Component).
238
241
]]> </xsd : documentation >
239
242
</xsd : annotation >
240
243
</xsd : element >
You can’t perform that action at this time.
0 commit comments