Class Factory

java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposDeviceFactory
de.gmxhome.conrad.jpos.jpos_base.gate.Factory
Direct Known Subclasses:
GateFactory

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

    • Factory

      public Factory()
  • Method Details

    • addDevice

      public GateService 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. Returns GateService object.
      Parameters:
      index - Gate property set index.
      dev - Gate implementation instance derived from JposDevice to be used by the service.
      entry - Property list from jpos configuration.
      Returns:
      GateService object.
      Throws:
      jpos.JposException - If property set could not be retrieved.
    • addDevice

      @Deprecated public GateService 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. Returns GateService object.
      Parameters:
      index - Gate property set index.
      dev - Gate implementation instance derived from JposDevice to be used by the service.
      Returns:
      GateService object.
      Throws:
      jpos.JposException - If property set could not be retrieved.