@ConditionalOnMissingBean(value=TenantAutoScanConfiguration.class) @Configuration(value="tenantAutoScanConfiguration") @AutoConfigureAfter(name="tenantFeignConfiguration") @EnableConfigurationProperties(value={AutoScanProperties.class,com.xforceplus.tenant.security.client.feign.config.XforceDataWebProperties.class}) public class TenantAutoScanConfiguration extends java.lang.Object implements org.springframework.context.ResourceLoaderAware
| 构造器和说明 |
|---|
TenantAutoScanConfiguration(com.xforceplus.tenant.security.client.feign.config.XforceDataWebProperties xforceDataWebProperties,
org.springframework.boot.autoconfigure.data.web.SpringDataWebProperties springDataWebProperties,
AutoScanProperties autoScanProperties) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent> |
autoScanApplicationContextListener() |
AutoScanRequestMappingsServlet |
autoScanRequestMappingsServlet() |
org.springframework.boot.web.servlet.ServletRegistrationBean<AutoScanRequestMappingsServlet> |
getServletRegistrationBean(AutoScanRequestMappingsServlet autoScanRequestMappingsServlet) |
com.xforceplus.api.global.autoscan.AutoscanApi |
routeApi(okhttp3.OkHttpClient tenantOkHttpClient,
feign.RequestInterceptor requestInterceptor,
com.xforceplus.tenant.security.client.feign.service.ClientService clientService) |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
public TenantAutoScanConfiguration(@Autowired(required=false)
com.xforceplus.tenant.security.client.feign.config.XforceDataWebProperties xforceDataWebProperties,
@Autowired(required=false)
org.springframework.boot.autoconfigure.data.web.SpringDataWebProperties springDataWebProperties,
AutoScanProperties autoScanProperties)
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
setResourceLoader 在接口中 org.springframework.context.ResourceLoaderAware@Bean(name="autoScanApplicationContextListener") public org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent> autoScanApplicationContextListener()
@Bean(name="autoScanRequestMappingsServlet") public AutoScanRequestMappingsServlet autoScanRequestMappingsServlet()
@Bean public org.springframework.boot.web.servlet.ServletRegistrationBean<AutoScanRequestMappingsServlet> getServletRegistrationBean(AutoScanRequestMappingsServlet autoScanRequestMappingsServlet)
@Bean
public com.xforceplus.api.global.autoscan.AutoscanApi routeApi(@Autowired @Qualifier(value="tenantOkHttpClient")
okhttp3.OkHttpClient tenantOkHttpClient,
@Autowired(required=false) @Qualifier(value="tenantTokenRequestInterceptor")
feign.RequestInterceptor requestInterceptor,
@Autowired(required=false) @Qualifier(value="tenantClientService")
com.xforceplus.tenant.security.client.feign.service.ClientService clientService)