| java.lang.Object | |
| ↳ | com.microstrategy.web.controller.TaskProcessor |
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| enum | TaskProcessor.TaskInvoker | Enumeration that indicates the task Invoker in the incoming request. | |||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | PARAM_NAME_SESSION_STATE | The name of the task parameter that identifies the IServer session state. | |||||||||
| String | PARAM_NAME_TASK_ID | The URL parameter that specifies the Task to invoke. | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
TaskProcessor()
Creates a new TaskProcessor object.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String |
getConfigurationError()
Returns the configuration error, if any, associated with the initialization of this
task processor instance.
| ||||||||||
| TaskFactory |
getRootFactory()
Return the root level
TaskFactory associated with this
configuration. | ||||||||||
| void |
initializeApp(ContainerServices cs)
Initialize the application.
| ||||||||||
| boolean |
processRequest(TaskProcessorRequestState tpReqState)
Process the incoming request.
| ||||||||||
| void |
terminateApp()
Terminate the application.
| ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Task | getTaskInstance(String taskId, ContainerServices containerServices) | ||||||||||
| void | initializeTaskFactory(ContainerServices cs) | ||||||||||
| String | locateTaskId(RequestKeys requestKeys) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
The name of the task parameter that identifies the IServer session state.
The URL parameter that specifies the Task to invoke.
Creates a new TaskProcessor object.
Returns the configuration error, if any, associated with the initialization of this task processor instance.
Return the root level TaskFactory associated with this
configuration.
Initialize the application.
| cs | The ContainerServices object to use to complete the
initialization.
|
|---|
Process the incoming request.
| tpReqState | The TaskProcessorRequestState object that holds per-request
data. |
|---|
Terminate the application.
| TaskException |
|---|