com.ibm.commerce.marketing.promotion.runtime

Interface PromotionContextFactory

  • All Superinterfaces:
    java.io.Serializable, XMLizable
    All Known Implementing Classes:
    DefaultPromotionContextFactory


    public interface PromotionContextFactory
    extends XMLizable
    This is the PromotionContextFactory interface used to create a promotion context. PromotionContext provides a context in which adjustment executes.
    • Method Detail

      • createContext

        PromotionContext createContext(PromotionEngine engine,
                                       PromotionArgument argument)
        Creates PromotionContext.
        Parameters:
        engine - the engine that is invoked.
        argument - invocation argument of promotion argument
        Returns:
        a promotion context for this invocation