@Configuration
public class TenantAutoConfiguration
extends java.lang.Object
构造器和说明 |
---|
TenantAutoConfiguration() |
限定符和类型 | 方法和说明 |
---|---|
top.daxian1218.dust.db.tenant.AppManager |
appManager(top.daxian1218.dust.db.DustDbProperties dustDbProperties,
top.daxian1218.dust.db.DbAdapterManager dbAdapterManager) |
top.daxian1218.dust.db.tenant.SeparatedCache |
separatedCache() |
top.daxian1218.dust.db.tenant.TenantManager |
tenantAdapterManager(top.daxian1218.dust.db.DbAdapterManager dbAdapterManager,
top.daxian1218.dust.db.tenant.AppManager appManager) |
@Bean public top.daxian1218.dust.db.tenant.SeparatedCache separatedCache()
@Bean public top.daxian1218.dust.db.tenant.TenantManager tenantAdapterManager(top.daxian1218.dust.db.DbAdapterManager dbAdapterManager, @Autowired(required=false) top.daxian1218.dust.db.tenant.AppManager appManager)
@Bean(initMethod="init") @ConditionalOnProperty(value="dust.db.tenant.enable") public top.daxian1218.dust.db.tenant.AppManager appManager(top.daxian1218.dust.db.DustDbProperties dustDbProperties, top.daxian1218.dust.db.DbAdapterManager dbAdapterManager)