java.lang.Object | |
↳ | com.microstrategy.web.servant.ServantRuntimeSupport |
This class provides support, at runtime, for the generated Servant/Service Endpoint class.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static void |
bindMethodToTask(TaskProcessorRequestState reqState, String taskID, String[] taskArgumentNames, Object[] taskArgumentValues)
Binds the web service method to the underlying task.
| ||||||||||
static Object | fulfillResponseUsingBlocks(TaskProcessorRequestState reqState, String blockPathSpec) | ||||||||||
static String | fulfillResponseUsingMarkup(TaskProcessorRequestState reqState) | ||||||||||
static Object | fulfillResponseUsingUnserializedObject(TaskProcessorRequestState reqState) | ||||||||||
static ServantRuntimeSupport |
getInstance()
Return the singleton instance associated with this class.
| ||||||||||
TaskProcessorRequestState |
getRequestState(ServantRuntimeContext servantRC)
Return a new
TaskProcessorRequestState object which is
already populated with a ContainerServices instance. | ||||||||||
static void |
handleMainMethod(Object servantObject, Map<String, Object[]> webServiceMethodInfo, String[] args)
This method handles command line debugging of the
Servant/Service Endpoint class.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Binds the web service method to the underlying task.
reqState | The TaskProcessorRequestState object that holds
information about the task request. |
---|---|
taskID | The ID of the underlying task. |
taskArgumentNames | An array of task argument names that are being assigned by the values of the web service method parameters. |
taskArgumentValues | An array of task argument values that are associated with the above keys. |
IllegalArgumentException | If the Task ID is empty or null, task argument names is null, task argument values is null or the lengths of the two arrays do not match. |
---|
Exception |
---|
Exception |
---|
Exception |
---|
Return the singleton instance associated with this class.
Return a new TaskProcessorRequestState
object which is
already populated with a ContainerServices
instance.
servantRC | The ServantRuntimeContext object, used in case
of one-time initialization. |
---|
This method handles command line debugging of the Servant/Service Endpoint class. Users may invoke this generated class and invoke methods exposed.
servantObject | The underlying Servant/Service Endpoint class instance. |
---|---|
webServiceMethodInfo | A Map of web service method names and information about the parameters. |
args | The command line arguments supplied by the user. |