org.broadleafcommerce.inventory.checkout.service.workflow
Class InventoryCompensatingCheckoutErrorHandler
java.lang.Object
org.broadleafcommerce.inventory.checkout.service.workflow.InventoryCompensatingCheckoutErrorHandler
- All Implemented Interfaces:
- org.broadleafcommerce.core.workflow.ErrorHandler, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware
Deprecated. Use InventoryRollbackHandler
@Deprecated
@Component(value="blInventoryCompensatingCheckoutErrorHandler")
public class InventoryCompensatingCheckoutErrorHandler
- extends Object
- implements org.broadleafcommerce.core.workflow.ErrorHandler
This error handler essentially does exactly what the DefaultErrorHandler does,
but it also attempts to detect whether inventory was decremented during the workflow. If
so, it attampts to compensate for that inventory.
- Author:
- Kelly Tisdell
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inventoryService
protected InventoryService inventoryService
- Deprecated.
InventoryCompensatingCheckoutErrorHandler
public InventoryCompensatingCheckoutErrorHandler()
- Deprecated.
setBeanName
public void setBeanName(String name)
- Deprecated.
- Specified by:
setBeanName in interface org.springframework.beans.factory.BeanNameAware
handleError
public void handleError(org.broadleafcommerce.core.workflow.ProcessContext context,
Throwable th)
throws org.broadleafcommerce.core.workflow.WorkflowException
- Deprecated.
- Specified by:
handleError in interface org.broadleafcommerce.core.workflow.ErrorHandler
- Throws:
org.broadleafcommerce.core.workflow.WorkflowException
Copyright © 2013. All Rights Reserved.