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> T execute(ProcessCallable<T> processCallable,
String classPath)
throws ProcessException
- Throws:
ProcessException
execute
public static <T extends Serializable> T execute(ProcessCallable<T> processCallable,
String classPath,
List<String> arguments)
throws ProcessException
- Throws:
ProcessException
main
public static void main(String[] arguments)
throws ClassNotFoundException,
IOException
- Throws:
ClassNotFoundException
IOException
destroy
public void destroy()