@PropertySource를 이용하여 Property 등록
@PropertySource로 Property 파일을 Evnironment로 로딩을 합니다. 아래는 예제 Sample입니다. package com.intercast.schedule.dao; import javax.annotation.Resource; import org.springframework.context.MessageSource; import org.springframework.context.annotation.PropertySource; import org.springframework.core.env.Environment; import org.springframework.stereotype.Repository; @Repository("excelDao") @PropertySource("classp..
2015.05.19