|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StockingContext
Provides stocking services for the provisioning framework. There is only one instance of this class within the
framework. It is stored as a ServletContext
attribute with the name
"org.jvending.provisioning.stocking.StockingContext"
Method Summary | |
---|---|
void |
destroy()
Called when the provisioning framework takes the StockingContext out of service. |
ProviderContext |
getProviderContext(javax.servlet.http.HttpServletRequest request)
Obtains a ProviderContext |
javax.servlet.ServletContext |
getServletContext()
Accessor for the ServletContext |
StockingComponent |
getStockingComponent()
Accessor for the StockingComponent |
StockingHandler |
getStockingHandler(java.lang.String name)
Accessor for the StockingHandler |
void |
init(javax.servlet.ServletContext servletContext)
Called by the provisioning framework when the StockingContext is put into service. |
Method Detail |
---|
javax.servlet.ServletContext getServletContext()
ServletContext
ServletContext
StockingHandler getStockingHandler(java.lang.String name) throws StockingException
StockingHandler
name
- of the StockingHandler
. It matches with the stocking-handler-name tag within the
stocking-handlers.xml file.
StockingHandler
StockingException
StockingComponent getStockingComponent()
StockingComponent
StockingComponent
void init(javax.servlet.ServletContext servletContext)
StockingContext
is put into service.
servletContext
- void destroy()
StockingContext
out of service.
ProviderContext getProviderContext(javax.servlet.http.HttpServletRequest request)
ProviderContext
request
-
ProviderContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |