MultiTenantDataSourceContext resource referenceDataSourceBuilder using the default ClassLoader.DataSourceBuilder.DataSource instances using a DataSourceConfigProperties configuration
properties source.ConfigPropertySet for DataSource configuration, using DataSourceConfigProperties.DEFAULT_NAME as property prefix.DataSource instance according to the declared DataSourceFactory.getDataSourceType() type
name and using a DataSourceConfigProperties property set.DataSource instance
created by a DataSourceFactory.DataSource beans using holon.datasource.PlatformTransactionManager bound to every DataSource
bean registered using holon.datasource.DataSource registration bean name.DataSourceBuilder priority if not specified using Priority annotation.PlatformTransactionManager registration bean name.DataSource using external configuration
properties according to DataSourceConfigProperties property names.TenantDataSourceProvider made available as Context
resource, using default ClassLoader.DatabasePlatform or try to detect it from connection url, if availableDataSource to use with given tenantIdDataSourceConfigProperties.DRIVER_CLASS_NAME property or using the default
driver class name for the configured database platform, if available.datacontextid-data-*.sql scripts.DataSource with multi-tenancy support.DataSource instance.TenantDataSourceProvider to use to obtain configured DataSource instances according to
current tenant id.DataSourceFactory to be used to build DataSource instances of the type returned by the
DataSourceFactory.getDataSourceType() method.DataSourcePostProcessor to initialiaze and/or configure the created DataSource
instances.DataSources internal cache.DataSource for given tenantId, if present.TenantResolver to use to obtain the current tenant id.DataSourceConfigProperties extension with additional Spring-related DataSource configuration properties.DataSource instance provider.Copyright © 2017 The Holon Platform. All rights reserved.