Interface TenantInfoHolder
Deprecated.
multi-tenant code will be removed in future version of Activiti and Activiti Cloud
Interface to be implemented when using the
MultiSchemaMultiTenantProcessEngineConfiguration and used
to set/get the current user and tenant identifier.
The engine will call the getCurrentTenantId() method when it needs to know which database to use.
Typically used with ThreadLocal's in the implementation.-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Clears the current tenant identifier settings.Deprecated.Returns all known tenant identifiers.Deprecated.Returns the current tenant identifier.voidsetCurrentTenantId(String tenantid) Deprecated.Sets the current tenant identifier.
-
Method Details
-
getAllTenants
-
setCurrentTenantId
-
getCurrentTenantId
-
clearCurrentTenantId
void clearCurrentTenantId()Deprecated.Clears the current tenant identifier settings.
-