|
|
|
@ -9323,7 +9323,7 @@ is not strictly required. |
|
|
|
-- |
|
|
|
-- |
|
|
|
Because `@Configuration` is meta-annotated with `@Component`, `@Configuration`-annotated |
|
|
|
Because `@Configuration` is meta-annotated with `@Component`, `@Configuration`-annotated |
|
|
|
classes are automatically candidates for component scanning. Using the same scenario as |
|
|
|
classes are automatically candidates for component scanning. Using the same scenario as |
|
|
|
describe in the previous example, we can redefine `system-test-config.xml` to take advantage of component-scanning. |
|
|
|
described in the previous example, we can redefine `system-test-config.xml` to take advantage of component-scanning. |
|
|
|
Note that, in this case, we need not explicitly declare |
|
|
|
Note that, in this case, we need not explicitly declare |
|
|
|
`<context:annotation-config/>`, because `<context:component-scan/>` enables the same |
|
|
|
`<context:annotation-config/>`, because `<context:component-scan/>` enables the same |
|
|
|
functionality. |
|
|
|
functionality. |
|
|
|
|