public class ApplicationLauncher extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
ApplicationLauncher.StartedThread |
| Modifier and Type | Field and Description |
|---|---|
static boolean |
alloy |
protected Application |
application |
static boolean |
DEBUG |
static String |
HTTP_PROXY_HOST |
static String |
HTTP_PROXY_PORT |
static String |
HTTPS_PROXY_HOST |
static String |
HTTPS_PROXY_PORT |
static String |
START_LOOK_AND_FEEL |
| Constructor and Description |
|---|
ApplicationLauncher(String labelsPath,
String clientApplicationPath,
String packageName) |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkLibraries() |
static String[] |
configureSystemProperties(String[] args) |
static Hashtable |
getProxies(Properties systemProperties)
Returns a Hastable with the proxy ports values and the proxy hosts
related to the application.
|
static Process |
launchApplication(String mainClass,
String[] arguments,
Properties sp)
Process launcher
|
static void |
main(String[] args)
Launches the client application.
|
protected static void |
removeRMISocketFactory()
Method used to fix the problem with java web start 1.5.0 when client has
a proxy
|
public static String START_LOOK_AND_FEEL
public static boolean DEBUG
public static boolean alloy
protected Application application
public static final String HTTP_PROXY_HOST
public static final String HTTPS_PROXY_HOST
public static final String HTTP_PROXY_PORT
public static final String HTTPS_PROXY_PORT
public static void main(String[] args)
Syntax: ApplicationLauncher 'xmlLabelFile' 'xmlApplicationFile' ['package'] [-d(for debug)]
[-https/http (for https/http tunneling)] [-nathttp/nathttps (for https/http tunneling using NAT socket factory)] [-ssl -sslnoreconnect]
| param | meaning | status | example |
| xmlLabelFile | the path to the file that contains the label information, which is used to interpret the xml tags | mandatory; a default file exist | com/ontimize/gui/labels.xml, which is the default path with the labels of the default Ontimize fields and components |
| xmlApplicationFile | the path to the file that describes the application | mandatory | com/project/client/clientapplication.xml |
| package | optional | ||
args - public static void checkLibraries()
protected static void removeRMISocketFactory()
public static Process launchApplication(String mainClass, String[] arguments, Properties sp) throws IOException
mainClass - arguments - sp - IOExceptionpublic static Hashtable getProxies(Properties systemProperties)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.