public class Launcher
extends java.lang.Object
| Constructor and Description |
|---|
Launcher() |
| Modifier and Type | Method and Description |
|---|---|
int |
activate(java.lang.Runnable endSplashHandler) |
void |
addBundle(java.io.File resource) |
void |
addSystemPackage(java.lang.String packageName) |
void |
deactivate() |
protected void |
deleteFiles(java.io.File wd) |
void |
error(java.lang.String msg,
java.lang.Object... objects) |
void |
init(java.util.Properties properties,
java.io.File propertiesFile) |
void |
init(java.lang.String... args) |
static void |
main(java.lang.String[] args) |
static int |
main(java.lang.String[] args,
java.util.Properties p) |
void |
report(java.io.PrintStream out) |
static int |
run(java.lang.String[] args) |
static int |
run(java.lang.String[] args,
java.lang.Runnable endSplashHandler) |
void |
serviceChanged(ServiceEvent event)
Monitor the services.
|
void |
trace(java.lang.String msg,
java.lang.Object... objects) |
int |
translateToError(BundleException e) |
java.lang.String |
translateToMessage(BundleException e) |
public Launcher()
throws java.lang.Exception
java.lang.Exceptionpublic static void main(java.lang.String[] args)
public static int main(java.lang.String[] args,
java.util.Properties p)
throws java.lang.Throwable
java.lang.Throwablepublic void init(java.lang.String... args)
throws java.lang.Throwable
java.lang.Throwablepublic void init(java.util.Properties properties,
java.io.File propertiesFile)
public static int run(java.lang.String[] args)
throws java.lang.Throwable
java.lang.Throwablepublic static int run(java.lang.String[] args,
java.lang.Runnable endSplashHandler)
throws java.lang.Throwable
java.lang.Throwablepublic int activate(java.lang.Runnable endSplashHandler)
throws java.lang.Exception
java.lang.Exceptionpublic void deactivate()
throws java.lang.Exception
java.lang.Exceptionpublic void addSystemPackage(java.lang.String packageName)
protected void deleteFiles(java.io.File wd)
public void addBundle(java.io.File resource)
public void report(java.io.PrintStream out)
public int translateToError(BundleException e)
public java.lang.String translateToMessage(BundleException e)
public void serviceChanged(ServiceEvent event)
main.thread property then check if it is a Runnable (priority
for backward compatibility) or a Callable<Integer>. If so, we set
it as the main thread runner and call it once the initialization is all
done.public void trace(java.lang.String msg,
java.lang.Object... objects)
public void error(java.lang.String msg,
java.lang.Object... objects)
Data In Motion GmbH all rights reserved