From 684e01bb190c7d0b95347b732aeb3cdeda4740d7 Mon Sep 17 00:00:00 2001 From: abranson Date: Tue, 18 Oct 2011 17:00:33 +0200 Subject: Module support --- source/com/c2kernel/process/AbstractMain.java | 44 --------------------------- 1 file changed, 44 deletions(-) (limited to 'source/com/c2kernel/process/AbstractMain.java') diff --git a/source/com/c2kernel/process/AbstractMain.java b/source/com/c2kernel/process/AbstractMain.java index 9282d45..7401d1b 100644 --- a/source/com/c2kernel/process/AbstractMain.java +++ b/source/com/c2kernel/process/AbstractMain.java @@ -16,7 +16,6 @@ import java.io.PrintStream; import com.c2kernel.utils.FileStringUtility; import com.c2kernel.utils.Logger; -import com.c2kernel.utils.Resource; /************************************************************************** * @@ -106,20 +105,6 @@ abstract public class AbstractMain } logStream = new PrintStream(new FileOutputStream(args[++i], true)); } - else if(args[i].equals("-resURL")) - { - String resString = args[++i]; - System.out.println("AbstractMain::readC2KArgs() - Resource location:" + - resString); - Resource.setKernelBaseURL(resString); - } - else if(args[i].equals("-domResURL")) - { - String resString = args[++i]; - System.out.println("AbstractMain::readC2KArgs() - Domain resource location:" + - resString); - Resource.setDomainBaseURL(resString); - } i++; } @@ -173,33 +158,4 @@ abstract public class AbstractMain return c2kProps; } - /************************************************************************** - * Required for most of the client & server application - * - * reads arguments - * initialises C2K properties - * initialises ORB - * initialises VirtualTreeManager - * initialises EventValueFactory + ProxyEventValueFactory - * initialises - **************************************************************************/ - static protected void standardSetUp(String[] args) - throws Exception - { - //Reads the C2Kernel arguments, and inits the Gateway with them - Gateway.init(readC2KArgs(args)); - - } - - - /************************************************************************** - * - **************************************************************************/ - static protected void standardTearDown() - throws Exception - { - Gateway.close(); - Logger.msg(5, "AbstractMain::standardTearDown() - DONE."); - } - } -- cgit v1.2.3