From 2160cc838fd3237e9122f05c63cdafe7e6c72c41 Mon Sep 17 00:00:00 2001 From: kerry Date: Thu, 6 Aug 2020 14:36:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=B2=E7=AA=81=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fr/design/env/RemoteWorkspace.java | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/env/RemoteWorkspace.java b/designer-base/src/main/java/com/fr/design/env/RemoteWorkspace.java index 9e3252b504..9a5d8b587d 100644 --- a/designer-base/src/main/java/com/fr/design/env/RemoteWorkspace.java +++ b/designer-base/src/main/java/com/fr/design/env/RemoteWorkspace.java @@ -1,6 +1,6 @@ package com.fr.design.env; -//import com.fr.cluster.engine.remote.ClusterOperator; +import com.fr.cluster.engine.remote.ClusterOperator; import com.fr.design.i18n.Toolkit; import com.fr.base.operator.common.CommonOperator; import com.fr.rpc.ExceptionHandler; @@ -79,13 +79,12 @@ public class RemoteWorkspace implements Workspace { @Override public boolean isCluster() { - return false; -// return WorkContext.getCurrent().get(ClusterOperator.class, new ExceptionHandler() { -// @Override -// public Boolean callHandler(RPCInvokerExceptionInfo rpcInvokerExceptionInfo) { -// return false; -// } -// }).isCluster(); + return WorkContext.getCurrent().get(ClusterOperator.class, new ExceptionHandler() { + @Override + public Boolean callHandler(RPCInvokerExceptionInfo rpcInvokerExceptionInfo) { + return false; + } + }).isCluster(); } @Override