Class TenantAutoConfiguration
java.lang.Object
org.chenile.configuration.core.TenantAutoConfiguration
The tenant beans every Chenile application has, whether or not it uses multi-datasource-utils.
Registered as an auto-configuration (META-INF/spring/...AutoConfiguration.imports), so an
application's own
TenantSupplier or TenantScope bean replaces the default.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TenantAutoConfiguration
public TenantAutoConfiguration()
-
-
Method Details
-
tenantScope
-
tenantSupplier
@Bean @ConditionalOnMissingBean(TenantSupplier.class) public TenantSupplier tenantSupplier(@Value("${chenile.tenants:}") String configuredTenants, BeanFactory beans)
-
CHENILE