01 | My Documents XML 설정
먼저 My Documents 애플리케이션의 현재 XML 설정 컨텍스트를 살펴보고 조사해보자(예제 3-1 참고).
예제 3-1 mydocuments-context.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="engine" class="com.apress.isf.java.service.MySearchEngine" />
<bean id="documentType" class="com.apress.isf.java.model.Type">
<property name="name" value="WEB" />
<property name="desc" value="Web Link" />
<property name="extension" value=".url" />
</bean>
</beans>