Package com.axelor.db.tenants
Interface TenantConfig
- All Known Implementing Classes:
TenantConfigImpl
public interface TenantConfig
The contract to provide tenant connection settings.
The config should provide either JNDI data-source name or JDBC connection properties for the database connection.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionWhether the tenant is active.The JDBC driver for the tenant.The JDBC password for the tenant.The JDBC connection url for the tenant.The JDBC user for the tenant.JNDI data source name.Comma separated list of hostnames for which this tenant is valid.The unique tenant identifier.The display name.Comma separated list of roles allowed to use this tenant.Whether the tenant is visible in tenant selection box.
-
Field Details
-
DEFAULT_TENANT_ID
- See Also:
-
-
Method Details
-
getActive
Boolean getActive()Whether the tenant is active. -
getVisible
Boolean getVisible()Whether the tenant is visible in tenant selection box. -
getTenantId
String getTenantId()The unique tenant identifier. -
getTenantName
String getTenantName()The display name. -
getTenantHosts
String getTenantHosts()Comma separated list of hostnames for which this tenant is valid. -
getTenantRoles
String getTenantRoles()Comma separated list of roles allowed to use this tenant. -
getJndiDataSource
String getJndiDataSource()JNDI data source name. -
getJdbcDriver
String getJdbcDriver()The JDBC driver for the tenant. -
getJdbcUrl
String getJdbcUrl()The JDBC connection url for the tenant. -
getJdbcUser
String getJdbcUser()The JDBC user for the tenant. -
getJdbcPassword
String getJdbcPassword()The JDBC password for the tenant.
-