wt.workflow.robots
Class WfInternalRequest

java.lang.Object
  extended bywt.workflow.robots.WfInternalRequest

public class WfInternalRequest
extends Object

Workflow handler class for internal robot method requests.


Field Summary
private static String CLASSNAME
           
private  boolean done
           
private static WTProperties props
           
private static String RESOURCE
           
private static boolean VERBOSE
           
private static String versionID
           
private static Class WTOBJECT_CLASS
           
 
Constructor Summary
private WfInternalRequest()
          Uninstantiable class.
 
Method Summary
private static Class[] getParameterTypes(WfInternalMethodTemplate template)
           
private static Object getService(WfInternalMethodTemplate template)
           
private static Method getServiceMethod(Class srv_class, WfInternalMethodTemplate template)
           
private static Object getServiceObject(String service_name)
           
private static Object invokeMethod(String oidString)
           
static Object processRequest(String oid, boolean wait)
          This version of the method handles the response for the POST.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionID

private static final String versionID
See Also:
Constant Field Values

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

done

private boolean done

VERBOSE

private static boolean VERBOSE

props

private static WTProperties props

WTOBJECT_CLASS

private static final Class WTOBJECT_CLASS
Constructor Detail

WfInternalRequest

private WfInternalRequest()
Uninstantiable class.

Method Detail

processRequest

public static Object processRequest(String oid,
                                    boolean wait)
                             throws WTException
This version of the method handles the response for the POST. Insure that you set all the HTTP response headers that you want prior to getting the output stream with the response objects getOutputStream call.

Throws:
WTException

invokeMethod

private static Object invokeMethod(String oidString)
                            throws WTException
Throws:
WTException

getServiceObject

private static Object getServiceObject(String service_name)
                                throws WTException
Throws:
WTException

getService

private static Object getService(WfInternalMethodTemplate template)
                          throws WTException
Throws:
WTException

getServiceMethod

private static Method getServiceMethod(Class srv_class,
                                       WfInternalMethodTemplate template)
                                throws WTException
Throws:
WTException

getParameterTypes

private static Class[] getParameterTypes(WfInternalMethodTemplate template)
                                  throws WTException
Throws:
WTException