package corgi.spring.test_java_config.code; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.FilterType; import org.springframework.context.annotation.PropertySource; /** * Created by huanghuanlai on 16/9/27. */ @Configuration @PropertySource("classpath:corgi.properties") @ComponentScan(basePackages = {"corgi.spring.test_java_config","corgi.common"}, excludeFilters = {@ComponentScan.Filter( type = FilterType.ANNOTATION, value = {Configuration.class})}) public class ApplicationConfiguration { }