Package top.tangyh.basic.scan
Class ScanAutoConfigure
java.lang.Object
top.tangyh.basic.scan.ScanAutoConfigure
@ComponentScan(basePackages="top.tangyh.basic.scan.controller")
@Configuration
@EnableConfigurationProperties(ScanProperties.class)
public class ScanAutoConfigure
extends Object
启动配置
- Author:
- zuihou
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRequestMappingScanUtils(ScanProperties properties, org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
ScanAutoConfigure
public ScanAutoConfigure()
-
-
Method Details
-
getRequestMappingScanUtils
@Bean @ConditionalOnClass @ConditionalOnProperty(prefix="lamp.scan", name="enabled", havingValue="true", matchIfMissing=true) public RequestMappingScanUtils getRequestMappingScanUtils(ScanProperties properties, org.springframework.context.ApplicationContext applicationContext)
-