0
복수 context:exclude-filter
을 (를) 포함하는 올바른 구문은 무엇입니까?여러 개의 'context : exclude-filter`를 포함하는 올바른 구문은 무엇입니까?
나는이를 사용하고 있지만 작동하는지 모르겠어요 :
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<context:annotation-config />
<context:component-scan base-package="com.myapp">
<context:exclude-filter type="aspectj" expression="com.myapp.components.*"/>
<context:exclude-filter type="aspectj" expression="com.myapp.batch.*"/>
<context:exclude-filter type="aspectj" expression="com.myapp.widgets.*"/>
<context:exclude-filter type="aspectj" expression="com.myapp.tools.*"/>
</context:component-scan>
<import resource="applicationContext-data.xml" />
<import resource="applicationContext-security.xml" />
<import resource="applicationContext-service.xml" />
</beans>