Advice that returns the required CompensationManager object for every read
access to the CompensationManager object annotated by the @BACompensationManagement
annotation.
Annotates the service's return value to be processed by the compensation mechanism
so that it can be used as an argument or within a compensation action.
Responsible for instantiating compensation data object required for compensation
where parameters of the original service and the compensation service match.
This class represents compensation data that stores information about the return object
which is used as the only parameter of the compensation action.
Responsible for instantiating compensation data object required for compensation where the
return value is used as an argument for the compensation action.
Compensation Manager provides a lightweight API for the Business Programmer so that
it can store any additional data which may be required by the compensation action.
This class represents a dummy compensation object which is used when services are
executed outside the scope of a Business Activity and no data should be remembered.
This aspect provides three advices:
- process() - intercepts a call to a Business Activity service and applies necessary
transaction-related mechanisms (handling a single invocation).
This method stores the return value that will be used as an argument when executing compensation
action (when BACompensationType is set to RETURN_VALUE)