|
|
|
@ -33,6 +33,7 @@ import com.fr.stable.StringUtils;
|
|
|
|
|
import com.fr.stable.project.ProjectConstants; |
|
|
|
|
import com.fr.start.DesignerProcessType; |
|
|
|
|
import com.fr.start.ServerStarter; |
|
|
|
|
import com.fr.start.common.DesignerStartupContext; |
|
|
|
|
import com.fr.start.event.LazyStartupEvent; |
|
|
|
|
import com.fr.start.preload.PreLoadService; |
|
|
|
|
import com.fr.start.server.FineEmbedServer; |
|
|
|
@ -120,7 +121,7 @@ public class DesignerStartup extends Activator {
|
|
|
|
|
|| FineEmbedServer.isRunning()) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if (DaoSelectorFactory.getDaoSelector().useCacheDao()) { |
|
|
|
|
if (DaoSelectorFactory.getDaoSelector().useCacheDao() || DesignerStartupContext.getInstance().isOnStartup()) { |
|
|
|
|
listenEvent(LazyStartupEvent.INSTANCE, new Listener<Null>(Integer.MIN_VALUE) { |
|
|
|
|
@Override |
|
|
|
|
public void on(Event event, Null param) { |
|
|
|
|