Browse Prior Art Database

Pluggable compensation execution

IP.com Disclosure Number: IPCOM000015877D
Original Publication Date: 2002-Jul-14
Included in the Prior Art Database: 2003-Jun-21
Document File: 2 page(s) / 41K

Publishing Venue

IBM

Abstract

Disclosed is a program to provide support for customized algorithms for ordering and performing compensation work.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 71% of the total text.

Page 1 of 2

Pluggable compensation execution

Disclosed is a program to provide support for customized algorithms for ordering and performing compensation work.

    In a system which supports compensation by the provision of a compensation coordinator, not only do the resources registering with the compensation coordinator wish to do that registration, but they also may wish to affect how that compensation is performed. For example the default implementation might simply use a for loop to process the resources, whereas a set of resources might prefer that the compensation for the resources is driven via a workflow.

    To the standard pattern of control, coordinator and terminator objects, an executor object is added that is responsible for the performance of the compensation and that is managed by the coordinator:

Control

Term inator Coordinator

Executor

    The control represents the scope of the compensation, the terminator can be given to those objects allowed to decide when to end the compensation scope, the coordinator manages and records the resources requiring compensation (or notification that no compensation is required for this compensation scope).

    The executor is responsible for invoking the resources. A default one is provided by the Coordinator. The coordinator also provides methods to allow a different executor to be provided to it.

    When the terminator is instructed to end the compensation scope, it informs the control, which, in turn, invokes the coordinator. The coordina...