spring只扫描指定文件注解

来源:互联网 发布:vb中default是什么意思 编辑:程序博客网 时间:2024/06/07 03:10
<context:annotation-config/><context:component-scan base-package="com.ximalaya.search.filter.spamtitle" use-default-filters="false">    <context:include-filter type="regex" expression="com\.ximalaya\.search\.filter\.spamtitle\.(dao\.impl\.SpamTitleWordDao|service\.SpamTitleSegHandler)"/></context:component-scan>
原创粉丝点击