java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposDeviceFactory
de.gmxhome.conrad.jpos.jpos_base.fiscalprinter.Factory
Direct Known Subclasses:
FiscalPrinterFactory

public class Factory extends JposDeviceFactory
General part of FiscalPrinterService factory for JPOS devices using this framework.
  • Constructor Details

    • Factory

      public Factory()
  • Method Details

    • addDevice

      @Deprecated public FiscalPrinterService addDevice(int index, JposDevice dev) throws jpos.JposException
      Deprecated.
      Perform basic initialization of given device and property set. Links property set and driver to each other and sets driver specific property defaults.
      Parameters:
      index - FiscalPrinter property set index.
      dev - FiscalPrinter implementation instance derived from JposDevice to be used by the service.
      Returns:
      FiscalPrinterService object.
      Throws:
      jpos.JposException - If property set could not be retrieved.
    • addDevice

      public FiscalPrinterService addDevice(int index, JposDevice dev, jpos.config.JposEntry entry) throws jpos.JposException
      Perform basic initialization of given device and property set. Links property set and driver to each other and sets driver specific property defaults.
      Parameters:
      index - FiscalPrinter property set index.
      dev - FiscalPrinter implementation instance derived from JposDevice to be used by the service.
      entry - Jpos entries, to be checked for FiscalPrinter specific properties.
      Returns:
      FiscalPrinterService object.
      Throws:
      jpos.JposException - If property set could not be retrieved.