|
|
|
@ -12,7 +12,7 @@ import com.fanruan.carina.annotions.Stop;
|
|
|
|
|
import com.fanruan.carina.annotions.Supplemental; |
|
|
|
|
import com.fanruan.config.ConfigProviderFactory; |
|
|
|
|
import com.fanruan.config.LocalConfigSource; |
|
|
|
|
import com.fanruan.config.UpDataDesignerRemoteOperator; |
|
|
|
|
import com.fanruan.config.SetupDataDesignerRemoteOperator; |
|
|
|
|
import com.fanruan.config.realm.ConfigRealm; |
|
|
|
|
import com.fanruan.dao.context.DBContextProvider; |
|
|
|
|
import com.fanruan.dao.context.DBContextStarter; |
|
|
|
@ -52,7 +52,7 @@ import com.fr.config.holder.ConfigChangeListener;
|
|
|
|
|
import com.fr.config.holder.ValidateConfigManger; |
|
|
|
|
import com.fr.config.impl.ConfConfigProviderImpl; |
|
|
|
|
import com.fr.config.impl.ConfigInsecurityElementProviderImpl; |
|
|
|
|
import com.fr.config.utils.UpDataHelper; |
|
|
|
|
import com.fr.config.utils.SetupDataHelper; |
|
|
|
|
import com.fr.decision.service.context.ServiceContext; |
|
|
|
|
import com.fr.design.backup.EnvBackupHelper; |
|
|
|
|
import com.fr.env.detect.EnvDetectorCenter; |
|
|
|
@ -353,7 +353,7 @@ public class DesignEnvComponent {
|
|
|
|
|
DaoContext.setXmlEntityDao(new RemoteXmlEntityDao()); |
|
|
|
|
DaoContext.setClassHelperDao(new RemoteClassHelperDao()); |
|
|
|
|
DaoContext.setEntityDao(new RemoteEntityDao()); |
|
|
|
|
UpDataHelper.getInstance().registerOperator(UpDataDesignerRemoteOperator.getInstance()); |
|
|
|
|
SetupDataHelper.getInstance().registerOperator(SetupDataDesignerRemoteOperator.getInstance()); |
|
|
|
|
} else { |
|
|
|
|
//本地
|
|
|
|
|
TransactorFactory.setTransactor(new HibernateTransactor()); |
|
|
|
@ -372,7 +372,7 @@ public class DesignEnvComponent {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void stopConfConfig() { |
|
|
|
|
UpDataHelper.getInstance().resetOperator(); |
|
|
|
|
SetupDataHelper.getInstance().resetOperator(); |
|
|
|
|
DaoContext.setClassHelperDao(null); |
|
|
|
|
DaoContext.setEntityDao(null); |
|
|
|
|
DaoContext.setXmlEntityDao(null); |
|
|
|
|