public class DupJarLauncher
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getJavaCmd()
Get the Java command.
|
static java.lang.String |
launch(java.lang.String origJarFNameStr,
java.lang.String dupJarFNameStr,
java.lang.String progClassNameStr,
java.lang.String progSingletonNameStr,
java.lang.String jvmParamsStr,
java.lang.String progParamsStr,
LogFile logObj)
Launches the specified program out of a jar duplicated from an
original jar.
|
static java.lang.String |
launch(java.lang.String origJarFNameStr,
java.lang.String dupJarFNameStr,
java.lang.String progClassNameStr,
java.lang.String progSingletonNameStr,
java.lang.String jvmParamsStr,
java.lang.String progParamsStr,
LogFile logObj,
java.lang.String progSingletonDirStr)
Launches the specified program out of a jar duplicated from an
original jar.
|
static java.lang.String |
launch(java.lang.String origJarFNameStr,
java.lang.String dupJarFNameStr,
java.lang.String progClassNameStr,
java.lang.String progSingletonNameStr,
java.lang.String jvmParamsStr,
java.lang.String progParamsStr,
LogFile logObj,
java.lang.String progSingletonDirStr,
java.lang.String javaCmd)
Launches the specified program out of a jar duplicated from an
original jar.
|
public static java.lang.String getJavaCmd()
public static java.lang.String launch(java.lang.String origJarFNameStr, java.lang.String dupJarFNameStr, java.lang.String progClassNameStr, java.lang.String progSingletonNameStr, java.lang.String jvmParamsStr, java.lang.String progParamsStr, LogFile logObj, java.lang.String progSingletonDirStr, java.lang.String javaCmd)
origJarFNameStr
- name or original jar file.dupJarFNameStr
- name or duplicate jar file.progClassNameStr
- name of program class containing 'main'
method to be run.progSingletonNameStr
- name associated with program-singleton
file to be check to see if program is already running, or null for
none.jvmParamsStr
- JVM parameters for 'java' command, or null for
none.progParamsStr
- program parameters for 'java' command, or null for
none.logObj
- log file to use, or null for none.progSingletonDirStr
- directory for program-singleton file, or
null or empty string for default directory.javaCmd
- the java command or null for the default.getJavaCmd()
public static java.lang.String launch(java.lang.String origJarFNameStr, java.lang.String dupJarFNameStr, java.lang.String progClassNameStr, java.lang.String progSingletonNameStr, java.lang.String jvmParamsStr, java.lang.String progParamsStr, LogFile logObj, java.lang.String progSingletonDirStr)
origJarFNameStr
- name or original jar file.dupJarFNameStr
- name or duplicate jar file.progClassNameStr
- name of program class containing 'main'
method to be run.progSingletonNameStr
- name associated with program-singleton
file to be check to see if program is already running, or null for
none.jvmParamsStr
- JVM parameters for 'java' command, or null for
none.progParamsStr
- program parameters for 'java' command, or null for
none.logObj
- log file to use, or null for none.progSingletonDirStr
- directory for program-singleton file, or
null or empty string for default directory.public static java.lang.String launch(java.lang.String origJarFNameStr, java.lang.String dupJarFNameStr, java.lang.String progClassNameStr, java.lang.String progSingletonNameStr, java.lang.String jvmParamsStr, java.lang.String progParamsStr, LogFile logObj)
origJarFNameStr
- name or original jar file.dupJarFNameStr
- name or duplicate jar file.progClassNameStr
- name of program class containing 'main'
method to be run.progSingletonNameStr
- name associated with program-singleton
file to be check to see if program is already running, or null for
none.jvmParamsStr
- JVM parameters for 'java' command, or null for
none.progParamsStr
- program parameters for 'java' command, or null for
none.logObj
- log file to use, or null for none.