Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- react
- hadoop
- Sqoop
- Spring
- window
- NPM
- SSL
- IntelliJ
- plugin
- MSSQL
- Kotlin
- table
- R
- vaadin
- Java
- GIT
- SQL
- tomcat
- JavaScript
- Python
- 보조정렬
- mybatis
- SPC
- es6
- xPlatform
- Eclipse
- mapreduce
- Android
- 공정능력
- Express
Archives
- Today
- Total
728x90
목록bean 등록 (1)
DBILITY
spring bean programmatically register to web applicaton context
제목 그대로 빈을 등록합니다. 2번의 경우 Object만 property setting이 가능하므로, 3번 구현 예가 실제 상황에선 더 적합합니다. Spring 3.1.1에서 테스트되었으며, cglib dependancy가 필요합니다. controller 예 @Controller public class TestController { private static final Logger LOG = LoggerFactory.getLogger(TestController.class); @RequestMapping(value="/test.action") public void dummyMethod(HttpServletRequest request) throws Exception { LOG.debug("{} -------..
java/spring
2016. 10. 24. 16:46
728x90