com.liferay.portal.kernel.process
Class ProcessExecutor

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

public class ProcessExecutor
extends java.lang.Object

Author:
Shuyang Zhou

Constructor Summary
ProcessExecutor()
           
 
Method Summary
 void destroy()
           
static
<T extends java.io.Serializable>
T
execute(ProcessCallable<T> processCallable, java.lang.String classPath)
           
static void main(java.lang.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 java.io.Serializable> T execute(ProcessCallable<T> processCallable,
                                                         java.lang.String classPath)
                                              throws ProcessException
Throws:
ProcessException

main

public static void main(java.lang.String[] arguments)
                 throws java.lang.ClassNotFoundException,
                        java.io.IOException
Throws:
java.lang.ClassNotFoundException
java.io.IOException

destroy

public void destroy()