Class TaskProcessor


  • public class TaskProcessor
    extends java.lang.Object
    Since:
    MicroStrategy Web 8.1.0
    • Field Detail

      • PARAM_NAME_TASK_ID

        public static final java.lang.String PARAM_NAME_TASK_ID
        The URL parameter that specifies the Task to invoke.
        See Also:
        Constant Field Values
      • PARAM_NAME_SESSION_STATE

        public static final java.lang.String PARAM_NAME_SESSION_STATE
        The name of the task parameter that identifies the IServer session state.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TaskProcessor

        public TaskProcessor()
        Creates a new TaskProcessor object.
    • Method Detail

      • initializeApp

        public void initializeApp​(ContainerServices cs)
        Initialize the application.
        Parameters:
        cs - The ContainerServices object to use to complete the initialization.
      • processRequest

        public boolean processRequest​(TaskProcessorRequestState tpReqState)
        Process the incoming request.
        Parameters:
        tpReqState - The TaskProcessorRequestState object that holds per-request data.
        Returns:
        True, if the request was handled; otherwise, false.
      • terminateApp

        public void terminateApp()
        Terminate the application.
      • getRootFactory

        public TaskFactory getRootFactory()
        Return the root level TaskFactory associated with this configuration.
        Returns:
        A TaskFactory object instance that corresponds to the root task factory.
      • getConfigurationError

        public java.lang.String getConfigurationError()
        Returns the configuration error, if any, associated with the initialization of this task processor instance.
        Returns:
        A String containing a configuration error.
      • initializeTaskFactory

        protected void initializeTaskFactory​(ContainerServices cs)