org.jvending.provisioning.stocking
Class StockingComponent

java.lang.Object
  extended by 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

Constructor Summary
StockingComponent()
           
 
Method Summary
 DescriptorHandler createDescriptorHandler(java.lang.String handlerName, java.lang.String mimeType)
           
 void destroy()
          Called by the provisioning framework when it takes the StockingComponent out of service.
 void handleStockingEvent(StockingEvent stockingEvent)
           
 void init(StockingContext stockingContext)
          Called by the provisioning framework when it puts the StockingComponent into service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StockingComponent

public StockingComponent()
Method Detail

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.