This chapter describes how to create new worker objects for CIM. Worker object is a general term for a Java class that performs any sort of functionality relating to the installation and configuration of Oracle Commerce Platform products. Validators, Tasks, and Providers are three types of worker object.
Task. Use when you want to do something such as copy a file or save data.
Validator. Use to check user input or system state. For example, ensure that an input string contains only alphanumeric characters. Validators return true or false values.
Provider. Use a provider when a wizard needs a value from the system, such as a list of names of the current JBoss server instances.
Select Provider. Use when you want to give the user a list of items from which to select. Select providers can set properties, but do not perform actions.
Navoption Provider. Use to provide a dynamic list of navigation options that perform tasks when selected.
This chapter includes the following sections: