프로퍼티(2)
-
Eclipse IDE 2020‑03 Properties Editor 사용
Eclipse IDE 2020‑03 을 다운받아 사용하려는데 Market에 PropertiesEditor이 없다..ㅡㅡ;;;;;예전 것은 있으나 지원이 안된다고 한다..그래서 결론은 수동으로 처리 해야 함. 다운로드 URL : http://propedit.sourceforge.jp/eclipse/updates 여기서 PropertiesEditor 만 설치 하면 됨.
2020.05.19 -
@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