| 1 | === anyframe |
---|
| 2 | |
---|
| 3 | --context-annotaion.xml |
---|
| 4 | {{{ |
---|
| 5 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 6 | <beans xmlns="http://www.springframework.org/schema/beans" |
---|
| 7 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" |
---|
| 8 | xmlns:aop="http://www.springframework.org/schema/aop" |
---|
| 9 | xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd |
---|
| 10 | http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd |
---|
| 11 | http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd"> |
---|
| 12 | |
---|
| 13 | <!--AOP(Aspect Oriented Programming)--> |
---|
| 14 | <aop:aspectj-autoproxy /> |
---|
| 15 | |
---|
| 16 | <!--Bean Definition--> |
---|
| 17 | <context:component-scan base-package="com.everland" |
---|
| 18 | use-default-filters="false"> |
---|
| 19 | <context:include-filter type="annotation" |
---|
| 20 | expression="org.springframework.stereotype.Service" /> |
---|
| 21 | <context:include-filter type="annotation" |
---|
| 22 | expression="org.springframework.stereotype.Repository" /> |
---|
| 23 | </context:component-scan> |
---|
| 24 | |
---|
| 25 | </beans> |
---|
| 26 | }}} |