Class DriverImpl

    • Constructor Detail

      • DriverImpl

        public DriverImpl()
        Constructor
    • Method Detail

      • getInstance

        public static DriverImpl getInstance()
        Get the ProcessingManagementClientFactory instance
        Returns:
        the instance
      • connect

        public Connection connect​(java.lang.String offerId)
                           throws StorageDriverException
        Description copied from interface: Driver
        Create a connection to the distant offer service based on given offer Id name. If no connection could be made, the driver MUST throw a StorageException
        Parameters:
        offerId - the offerId name
        Returns:
        a connection which MUST contains all necessary parameters and initial configurations to allow further requests to the distant offer service without needing to pass parameters/configurations.
        Throws:
        StorageDriverException - if any problem occurs during connection
      • getName

        public java.lang.String getName()
        Description copied from interface: Driver
        The driver implementation MUST provide a constant name which SHOULD be shared accross instances of the same driver implementation. Then it is strongly recommended to use a static final field in your driver implementation.

        This name MAY be used in user interface to provide information on the driver.

        Returns:
        The name of the driver which SHOULD be constant
      • getMajorVersion

        public int getMajorVersion()
        Description copied from interface: Driver
        Retrieves the driver's major version number.

        This number MAY be used in user interface to provide information on the driver.

        Returns:
        this driver's major version number
      • getMinorVersion

        public int getMinorVersion()
        Description copied from interface: Driver
        Retrieves the driver's minor version number.

        This number MAY be used in user interface to provide information on the driver.

        Returns:
        this driver's minor version number