|
|
|
@ -61,7 +61,7 @@ import com.fr.tenant.config.TenantConfigProvider;
|
|
|
|
|
import com.fr.tenant.context.CurrentTenantProviderStater; |
|
|
|
|
import com.fr.tenant.context.TenantContext; |
|
|
|
|
import com.fr.tenant.context.provider.CurrentTenantKey; |
|
|
|
|
import com.fr.tenant.store.impl.DefaultTenantStorage; |
|
|
|
|
import com.fr.tenant.store.impl.MemoryTenantStorage; |
|
|
|
|
import com.fr.workspace.WorkContext; |
|
|
|
|
import org.jetbrains.annotations.NotNull; |
|
|
|
|
import org.jetbrains.annotations.Nullable; |
|
|
|
@ -208,7 +208,7 @@ public class DesignPreStartComponent {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void startTenant() { |
|
|
|
|
TenantContext.registerStorage(new DefaultTenantStorage()); |
|
|
|
|
TenantContext.registerStorage(new MemoryTenantStorage()); |
|
|
|
|
TenantContext.registerConfigProvider(new TenantConfigProvider() { |
|
|
|
|
@Override |
|
|
|
|
public boolean isMultiTenantOpen() { |
|
|
|
|