목록Spring/EgovFramework (1)
개발
context-properties.xml 설정
- context-properties.xml 설정 자주사용하는 값을 key value로 관리할 수 있다. - 호출방법 @Resource(name = "propertiesService") protected EgovPropertyService pService; String savePath = pService.getString("Globals.fileStorePath"); - 서버 시작시 EgovPropertyServiceImpl클래스의 egovProperties변수에 key,value를 넣어준다. 해당소스 /** * Bean 초기화 함수로 최초 생성시 필요한 Property 세티처리 * * @throws Exception fail to initialize */ @SuppressWarnings({ "rawty..
Spring/EgovFramework
2020. 11. 22. 22:51