@FunctionalInterface public interface TenantDataSourceProvider
Modifier and Type | Method and Description |
---|---|
DataSource |
dataSource(Object tenantId)
Return the DataSource to use for the given current tenant.
|
default void |
shutdown(boolean deregisterDriver)
Shutdown all the DataSources.
|
DataSource dataSource(Object tenantId)
default void shutdown(boolean deregisterDriver)
Copyright © 2019. All rights reserved.