public class

BeanTaskFactory

extends AppTaskFactory
java.lang.Object
   ↳ com.microstrategy.web.app.tasks.AppTaskFactory
     ↳ com.microstrategy.web.app.tasks.BeanTaskFactory
Known Direct Subclasses

Class Overview

This class is the factory for creating Task instances from "bean task configuration files". It reads files from the directory specified by an init parameter in the web.xml file.

Summary

Constants
String INIT_PARAM_BEAN_TASK_DIR The init parameter that defines where to look for bean task configuration files.
String INIT_PARAM_SERVER_CONFIG_FILES_DEFAULT_LOCATION The init parameter that defines where to look server configuration files.
Public Constructors
BeanTaskFactory()
Public Methods
void destroy()
List<String> getRegisteredTaskIDList(TaskFactory.TaskCategory taskCat)
Iterator<String> getRegisteredTaskIDs(TaskFactory.TaskCategory taskCat)
void init(ContainerServices cntrSvcs)
Initializes the MicroStrategy Web environment.
void init(ContainerServices cntrSvcs, TaskFactoryInfo config)
Task newTask(String id)
Protected Methods
boolean shouldAdd(BeanTaskInfo bti)
[Expand]
Inherited Methods
From class com.microstrategy.web.app.tasks.AppTaskFactory
From class java.lang.Object
From interface com.microstrategy.web.tasks.TaskFactory

Constants

public static final String INIT_PARAM_BEAN_TASK_DIR

The init parameter that defines where to look for bean task configuration files.

Constant Value: "beanTaskDir"

public static final String INIT_PARAM_SERVER_CONFIG_FILES_DEFAULT_LOCATION

The init parameter that defines where to look server configuration files.

Constant Value: "serverConfigFilesDefaultLocation"

Public Constructors

public BeanTaskFactory ()

Public Methods

public void destroy ()

public List<String> getRegisteredTaskIDList (TaskFactory.TaskCategory taskCat)

public Iterator<String> getRegisteredTaskIDs (TaskFactory.TaskCategory taskCat)

public void init (ContainerServices cntrSvcs)

Initializes the MicroStrategy Web environment.

Parameters
cntrSvcs A ContainerServices instance to use for creation.

public void init (ContainerServices cntrSvcs, TaskFactoryInfo config)

public Task newTask (String id)

Throws
TaskException

Protected Methods

protected boolean shouldAdd (BeanTaskInfo bti)