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 |
Tags
- Express
- table
- react
- IntelliJ
- MSSQL
- tomcat
- Python
- SPC
- xPlatform
- Eclipse
- window
- GIT
- SSL
- mybatis
- vaadin
- NPM
- 보조정렬
- Java
- Sqoop
- Kotlin
- JavaScript
- R
- es6
- mapreduce
- plugin
- 공정능력
- Android
- SQL
- hadoop
- Spring
Archives
- Today
- Total
반응형
목록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
반응형
