public class ExpandRunServer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FLAG_INSTALLONLY |
static java.lang.String |
FLAG_SKIPINSTALL |
| Constructor and Description |
|---|
ExpandRunServer() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
expandProperties(java.util.Properties properties,
java.lang.String input)
Return the input with embedded property references expanded
|
static java.lang.String |
forwardSlashPath(java.lang.String input) |
void |
invokeMain(java.lang.String CLASSNAME,
java.lang.String[] args,
java.io.File libdir)
Invoke the main method on the given class, using the specified args, with a classloader including all jars in the
specified libdir
|
static void |
main(java.lang.String[] args) |
int |
run(java.lang.String[] args) |
public static final java.lang.String FLAG_INSTALLONLY
public static final java.lang.String FLAG_SKIPINSTALL
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic int run(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.String forwardSlashPath(java.lang.String input)
public void invokeMain(java.lang.String CLASSNAME,
java.lang.String[] args,
java.io.File libdir)
throws java.lang.NoSuchMethodException,
java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException,
java.lang.ClassNotFoundException,
java.net.MalformedURLException
CLASSNAME - class to invokeargs - arguments to pass to main methodlibdir - dir containing required jar filesjava.lang.NoSuchMethodExceptionjava.lang.reflect.InvocationTargetExceptionjava.lang.IllegalAccessExceptionjava.lang.ClassNotFoundExceptionjava.net.MalformedURLExceptionpublic static java.lang.String expandProperties(java.util.Properties properties,
java.lang.String input)
properties - the properties to select forminput - the input