다음은 이 빈의 구성이 담긴 XML 구성 파일로 <context:annotation-config> 태그를 사용합니다.
예제 4-14 @PreDestroy를 사용한 빈을 구성([[post-construct-pre-destroy]] app-context-annotation.xml)
<beans ...> <context:annotation-config/> <bean id="destructiveBean" class="com.apress.prospring5.ch4.DestructiveBeanWithJSR250" p:filePath= "#{systemProperties['java.io.tmpdir']}#{systemProperties['file.separator']}test.txt"/> </beans>