|
|
@ -17,6 +17,7 @@ import com.fr.start.common.DesignerStartupContext; |
|
|
|
import com.fr.start.module.StartupArgs; |
|
|
|
import com.fr.start.module.StartupArgs; |
|
|
|
import com.fr.start.server.ServletContextWrapper; |
|
|
|
import com.fr.start.server.ServletContextWrapper; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.Arrays; |
|
|
|
import java.util.Properties; |
|
|
|
import java.util.Properties; |
|
|
|
import java.util.concurrent.TimeUnit; |
|
|
|
import java.util.concurrent.TimeUnit; |
|
|
|
|
|
|
|
|
|
|
@ -45,6 +46,7 @@ public class CarinaDesigner extends MainDesigner{ |
|
|
|
Carina.setPartitionManager(manager); |
|
|
|
Carina.setPartitionManager(manager); |
|
|
|
DesignLauncher.setContext(carinaApplicationContext); |
|
|
|
DesignLauncher.setContext(carinaApplicationContext); |
|
|
|
Carina.getApplicationContext().singleton(StartupArgsShell.class).set(new StartupArgs(args)); |
|
|
|
Carina.getApplicationContext().singleton(StartupArgsShell.class).set(new StartupArgs(args)); |
|
|
|
|
|
|
|
FineLoggerFactory.getLogger().info("start args : {} ", Arrays.toString(args)); |
|
|
|
Carina.getApplicationContext().singleton(LaunchType.class).set(LaunchType.DESIGNER); |
|
|
|
Carina.getApplicationContext().singleton(LaunchType.class).set(LaunchType.DESIGNER); |
|
|
|
DesignLauncher launch = new DesignLauncher("/com/fr/config/starter/designer-startup-carina.xml"); |
|
|
|
DesignLauncher launch = new DesignLauncher("/com/fr/config/starter/designer-startup-carina.xml"); |
|
|
|
FineRuntime.start(); |
|
|
|
FineRuntime.start(); |
|
|
|