Liferay 6.2-ce-ga5

com.liferay.portal.kernel.process
Class ProcessExecutor

java.lang.Object
  extended by com.liferay.portal.kernel.process.ProcessExecutor

public class ProcessExecutor
extends Object


Nested Class Summary
static class ProcessExecutor.ProcessContext
           
static interface ProcessExecutor.ShutdownHook
           
 
Constructor Summary
ProcessExecutor()
           
 
Method Summary
 void destroy()
           
static
<T extends Serializable>
Future<T>
execute(String classPath, List<String> arguments, ProcessCallable<? extends Serializable> processCallable)
           
static
<T extends Serializable>
Future<T>
execute(String classPath, ProcessCallable<? extends Serializable> processCallable)
           
static
<T extends Serializable>
Future<T>
execute(String java, String classPath, List<String> arguments, ProcessCallable<? extends Serializable> processCallable)
           
static void main(String[] arguments)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessExecutor

public ProcessExecutor()
Method Detail

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()

Liferay 6.2-ce-ga5