parent
3b17de8ab2
commit
6802504db0
|
|
@ -218,7 +218,7 @@ import org.springframework.stereotype.Component;
|
|||
* {@code <bean>} definitions within Spring XML files. It is also possible to
|
||||
* import Spring XML configuration files into {@code @Configuration} classes using
|
||||
* the {@link ImportResource @ImportResource} annotation. Bean definitions imported from XML can be
|
||||
* injected using {@code @Autowired} or {@code @Import}:
|
||||
* injected using {@code @Autowired} or {@code @Inject}:
|
||||
* <pre class="code">
|
||||
* @Configuration
|
||||
* @ImportResource("classpath:/com/acme/database-config.xml")
|
||||
|
|
|
|||
Loading…
Reference in New Issue