|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.retail.saf.provider.kiosk.KioskPOSProviderFactory
Provides an implementation of the factory pattern for KioskPOSProvider
objects.
This implementation of the POSProviderFactory
utilizes the factory pattern
to create and return instances of KioskPOSProvider
objects. It is responsible for creating the
KioskPOSProvider
objects that provide access to the services available on the
point-of-sale system.
Field Summary | |
---|---|
protected static com.ibm.retail.saf.provider.kiosk.KioskPOSProviderFactory |
instance
|
protected java.util.HashMap |
providerCache
|
protected com.ibm.retail.saf.server.POSServerFactory |
serverFactory
|
Constructor Summary | |
---|---|
protected |
KioskPOSProviderFactory()
|
Method Summary | |
---|---|
static com.ibm.retail.saf.provider.kiosk.KioskPOSProviderFactory |
getInstance()
Get an instance of the factory. |
com.ibm.retail.saf.server.POSServerFactory |
getPOSServerFactory(com.ibm.retail.saf.provider.ProviderRequest providerRequest)
|
static void |
initialize()
Get an instance of the factory. |
com.ibm.retail.saf.provider.POSProvider |
makePOSProvider(com.ibm.retail.saf.provider.ProviderRequest providerRequest)
Create an instance of a POSProvider. |
protected void |
setPOSServerFactory(com.ibm.retail.saf.server.POSServerFactory aServerFactory)
Method called to set up a non-standard POS Server Factory e.g. for test purposes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static com.ibm.retail.saf.provider.kiosk.KioskPOSProviderFactory instance
protected java.util.HashMap providerCache
protected com.ibm.retail.saf.server.POSServerFactory serverFactory
Constructor Detail |
protected KioskPOSProviderFactory()
Method Detail |
public static void initialize()
public static com.ibm.retail.saf.provider.kiosk.KioskPOSProviderFactory getInstance()
public com.ibm.retail.saf.server.POSServerFactory getPOSServerFactory(com.ibm.retail.saf.provider.ProviderRequest providerRequest) throws POSException, java.rmi.RemoteException
POSException
java.rmi.RemoteException
public com.ibm.retail.saf.provider.POSProvider makePOSProvider(com.ibm.retail.saf.provider.ProviderRequest providerRequest) throws java.rmi.RemoteException, POSException
POSProviderFactory
makePOSProvider
in interface POSProviderFactory
providerRequest
- specifies the parameters to be used in creating this provider
POSException
- if an error occurs creating the provider
java.rmi.RemoteException
protected void setPOSServerFactory(com.ibm.retail.saf.server.POSServerFactory aServerFactory) throws POSException
POSException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |