|
|
@ -2,8 +2,6 @@ package cokr.xit.base.boot;
|
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
|
|
|
|
|
import org.springframework.context.annotation.FilterType;
|
|
|
|
|
|
|
|
import org.springframework.test.context.ContextConfiguration;
|
|
|
|
import org.springframework.test.context.ContextConfiguration;
|
|
|
|
|
|
|
|
|
|
|
|
import cokr.xit.foundation.boot.CommonConfig;
|
|
|
|
import cokr.xit.foundation.boot.CommonConfig;
|
|
|
@ -19,21 +17,9 @@ import cokr.xit.foundation.boot.TransactionConfig;
|
|
|
|
CommonConfig.class,
|
|
|
|
CommonConfig.class,
|
|
|
|
ServletConfig.class,
|
|
|
|
ServletConfig.class,
|
|
|
|
MvcConfig2.class,
|
|
|
|
MvcConfig2.class,
|
|
|
|
SecurityConfig.class,
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
DatasourceConfig.class,
|
|
|
|
DatasourceConfig.class,
|
|
|
|
TransactionConfig.class
|
|
|
|
TransactionConfig.class,
|
|
|
|
*/
|
|
|
|
SecurityConfig.class,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
@ComponentScan(
|
|
|
|
|
|
|
|
basePackages = "cokr.xit",
|
|
|
|
|
|
|
|
excludeFilters = @ComponentScan.Filter(
|
|
|
|
|
|
|
|
type = FilterType.ASSIGNABLE_TYPE,
|
|
|
|
|
|
|
|
classes = {
|
|
|
|
|
|
|
|
DatasourceConfig.class,
|
|
|
|
|
|
|
|
TransactionConfig.class
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
@ContextConfiguration("classpath:spring/context-*.xml")
|
|
|
|
@ContextConfiguration("classpath:spring/context-*.xml")
|
|
|
|
public class XitBaseApplication {}
|
|
|
|
public class XitBaseApplication {}
|