Interface TenantInfoHolder


@Deprecated public 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 Details

    • getAllTenants

      Collection<String> getAllTenants()
      Deprecated.
      Returns all known tenant identifiers.
    • setCurrentTenantId

      void setCurrentTenantId(String tenantid)
      Deprecated.
      Sets the current tenant identifier.
    • getCurrentTenantId

      String getCurrentTenantId()
      Deprecated.
      Returns the current tenant identifier.
    • clearCurrentTenantId

      void clearCurrentTenantId()
      Deprecated.
      Clears the current tenant identifier settings.