org.jvending.provisioning.stocking
Class StockingComponent
java.lang.Object
org.jvending.provisioning.stocking.StockingComponent
public abstract class StockingComponent
- extends java.lang.Object
The class provides functionality for handling the stocking process.
- Since:
- 2.0.0
- Author:
- Shane Isbell
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StockingComponent
public StockingComponent()
handleStockingEvent
public void handleStockingEvent(StockingEvent stockingEvent)
throws StockingException
- Parameters:
stockingEvent -
- Throws:
StockingException
createDescriptorHandler
public DescriptorHandler createDescriptorHandler(java.lang.String handlerName,
java.lang.String mimeType)
throws StockingException
- Parameters:
handlerName - mimeType -
- Returns:
- DescriptorHandler - should not be null
- Throws:
StockingException
init
public void init(StockingContext stockingContext)
- Called by the provisioning framework when it puts the StockingComponent into service.
- Parameters:
stockingContext -
destroy
public void destroy()
- Called by the provisioning framework when it takes the StockingComponent out of service.
Copyright 2006 null. All Rights Reserved.