com.liferay.portal.kernel.process
Class ProcessExecutor
java.lang.Object
com.liferay.portal.kernel.process.ProcessExecutor
public class ProcessExecutor
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessExecutor
public ProcessExecutor()
execute
public static <T extends Serializable> Future<T> execute(String classPath,
List<String> arguments,
ProcessCallable<? extends Serializable> processCallable)
throws ProcessException
- Throws:
ProcessException
execute
public static <T extends Serializable> Future<T> execute(String classPath,
ProcessCallable<? extends Serializable> processCallable)
throws ProcessException
- Throws:
ProcessException
execute
public static <T extends Serializable> Future<T> execute(String java,
String classPath,
List<String> arguments,
ProcessCallable<? extends Serializable> processCallable)
throws ProcessException
- Throws:
ProcessException
main
public static void main(String[] arguments)
throws ClassNotFoundException,
IOException
- Throws:
ClassNotFoundException
IOException
destroy
public void destroy()