org.eclipse.net4j.util.om
Class LegacyUtil

java.lang.Object
  extended by org.eclipse.net4j.util.om.LegacyUtil

public final class LegacyUtil
extends Object

Various static helper methods for dealing with bundles if OSGi is not running.


Method Summary
static String[] getCommandLineArgs()
           
static void setCommandLineArgs(String[] commandLineArgs)
           
static void startBundles(OMBundle[] bundles)
           
static void stopBundles(OMBundle[] bundles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCommandLineArgs

public static String[] getCommandLineArgs()
                                   throws IllegalStateException
Throws:
IllegalStateException
Since:
3.2

setCommandLineArgs

public static void setCommandLineArgs(String[] commandLineArgs)
Since:
3.2

startBundles

public static void startBundles(OMBundle[] bundles)
                         throws Exception
Throws:
Exception

stopBundles

public static void stopBundles(OMBundle[] bundles)
                        throws Exception
Throws:
Exception


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.