<?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:p="http://www.springframework.org/schema/p" 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" default-lazy-init="false" default-autowire="byName"> <context:annotation-config/> <bean class="com.gyee.util.BeanFactoryUtils" autowire="no"/> <import resource="context.xml"/> <import resource="job.xml"/> <import resource="thread.xml"/> <context:component-scan base-package="com.gyee"> <context:include-filter type="regex" expression=".service.*"/> <context:include-filter type="regex" expression=".dao.*"/> <context:include-filter type="regex" expression=".intial.*"/> <context:include-filter type="regex" expression=".util.*"/> <context:include-filter type="regex" expression=".util.edos.*"/> <context:include-filter type="regex" expression=".test.*"/> </context:component-scan> </beans>