@ImportResource
指定された場所にスプリング構成ファイルをロードします
使用法:次のように、この注釈を構成クラスまたはメイン構成クラスに書き込みます
bean.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="hellowService" class="com.springboot.springboot_demo.service.HellowService"></bean>
</beans>