The handler methods implement the following transactions steps:
Synchronize on the
Orderobject.Execute logic for modifying the
Orderobject.For example, the
CartModifierFormHandlersubclass has ahandleAddItemToOrdermethod that executes the logic of adding an item to an order.Call the
OrderManagerobject’supdateOrdermethod to save the order data to the repository.End the synchronization.

