Registering a task
Task registration is the first step to prepare a task for processing. It must be registered in Services Framework before it can be configured and made active. A task can only be registered once.
To register a task:
- For tasks that are not provided with Services Framework, ensure that the prerequisite JAR files for the task are copied to Services Framework. For more information about adding tasks to Services Framework, see Adding features and tasks to the Services Framework library.
- Click the Register Task link on the task registry page.
- Enter the class name that is associated with the task.
- Click Verify.
- The page refreshes and displays the configuration parameters that are needed for the task to run properly.
The configuration parameters are defined by the task, not Services Framework. Note: For tasks that are not provided with Services Framework, task configuration information is described in the task registration and configuration section of the Common Services component that provides the task.
- Services Framework and the task communicate by using the Services Framework APIs.
- The configuration parameters are displayed as read-only on the task registry page so that you can see what configuration information is needed to run the task. Enter these values when configuring the task after it has been registered.
- When the task is verified, the user is required to assign a unique task name. An optional description of the task may be provided.
- When all of the information is complete, the task is registered by clicking Register.