io.ebean.config.TenantCatalogProvider Maven / Gradle / Ivy
package io.ebean.config;
/**
* For multi-tenancy via DB CATALOG supply the catalog given the tenantId.
*/
@FunctionalInterface
public interface TenantCatalogProvider {
/**
* Return the DB catalog for the given tenantId.
*
* @param tenantId The current tenant id.
* @return The DB catalog to use for the given tenant
*/
String catalog(Object tenantId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy