Job process creation plugin
The job process creation plugin (JobProcessCreationPlugin) creates a new job
process for a policy period entity based on its job subtype. Its one method, called
createJobProcess, takes a PolicyPeriod entity and
returns an instance of a JobProcess. For example, for a policy change job,
this plugin creates a PolicyChangeProcess object. The included version of
this plugin creates job processes for all built-in job subtypes.
If you create subtypes of one or more of the built-in job process classes, you must detect your
new subtypes in this method. Check the value of Job property on the
PolicyPeriod and check its subtype. Next, instantiate your own job process
subtype and return it.
Use the code of the included version of this plugin as a template for your version.
See also
