1. Springsprout-servlet.xml
<context:component-scan base-package="springsprout" use-default filters="false">
<context:include-filter type="annotation" expression="org.springframework.stereotype.Controller" />
</context:component-scan>
@autowired
anotation
TRACKBACK 0 AND
COMMENT 0
Q : unifiedNotificationService bean의 p:jabberService-ref 중 앞의 p: << 요넘아는 무엇일까??
A : 세터 인젝션 property의 약자로 p 네임스페이스를 최상위 엘리먼트에 등록후 사용 가능. Spring은 2.0 버전부터 지원하는것 같다고 함 ( From 기선 )
최상위리먼트에 xmlns:p="http://www.springframework.org/schema/p" 추가 되어야 함
TRACKBACK 0 AND
COMMENT 0

PREV