com.ibm.commerce.context.taskimpl

Class TaskContextFactory

  • All Implemented Interfaces:
    BusinessContextFactory


    public class TaskContextFactory
    extends com.ibm.commerce.context.factory.SimpleBusinessContextFactory
    This class defines a factory to create the task context SPI interface. This interface creates the context and associates the validation implementation if one is found in the configuration. The validation is associated with the task context to ensure the task group and task associated with the context is still valid.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String TASKGROUP_TASK_VALIDATOR
      This is the parameter name that specifies the task group and task validator.
    • Constructor Summary

      Constructors 
      Constructor and Description
      TaskContextFactory(java.util.List parameters)
      This is the constructor for this class.
    • Field Detail

      • TASKGROUP_TASK_VALIDATOR

        public static final java.lang.String TASKGROUP_TASK_VALIDATOR
        This is the parameter name that specifies the task group and task validator.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TaskContextFactory

        public TaskContextFactory(java.util.List parameters)
        This is the constructor for this class. It takes one parameter and calls the constructor from the superclass. It creates an instance of the task context factory that is used to create the task context SPI object. This factory will look to see if the task group task validator has been specified. It will then create an instance of the object that will be associated with every task context created.
        Parameters:
        paramList - A list of parameters found in the task context factory.