com.ibm.commerce.payments.plugincontroller.plugin

Class PluginFactory

  • java.lang.Object
    • com.ibm.commerce.payments.plugincontroller.plugin.PluginFactory


  • public class PluginFactory
    extends java.lang.Object
    This class is to use create plugin.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static PluginAdapter getImplementation(java.lang.String paymentSystemName, java.lang.String paymentConfigurationId)
      This method gets the plugin adapter for the plugin which is determined by the payment system name and the payment configuration id.
      static PluginAdapter getImplementation(java.lang.String paymentSystemName, java.lang.String paymentConfigurationId, java.util.Hashtable merchantConfInfos)
      This method gets the plugin adapter for the plugin which is determined by the payment system name and the payment configuration id.
      static java.util.HashMap getMerchantConfInfoProperties()
      This method gets the MerchantConfInfoProperties.
      static java.util.ArrayList getPaymentPlugin()
      This method gets the payment plugin list.
      static java.util.ArrayList getPpcPaymentInstructionProtocolPropertyRetainList()
      This method gets the list of property names defined in PaymentSystemPluginMapping file indicating PPC to save them to database.
      static void reloadConfiguration()
      This method reloads the configuration.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getImplementation

        public static PluginAdapter getImplementation(java.lang.String paymentSystemName,
                                                      java.lang.String paymentConfigurationId,
                                                      java.util.Hashtable merchantConfInfos)
                                               throws ConfigException,
                                                      InternalException
        This method gets the plugin adapter for the plugin which is determined by the payment system name and the payment configuration id.
        Parameters:
        paymentSystemName - The payments system name.
        paymentConfigurationId - The payment configuration id.
        merchantConfInfos - The Merchant Id.
        Returns:
        The plugin adapter of the plugin.
        Throws:
        ConfigException - Thrown when the mapping can not be found for the paymentsystemname & the storeID to the plugin.
        InternalException - The internal exception.
      • getMerchantConfInfoProperties

        public static java.util.HashMap getMerchantConfInfoProperties()
        This method gets the MerchantConfInfoProperties.
        Returns:
        The merchant configuration information properties.
      • getImplementation

        public static PluginAdapter getImplementation(java.lang.String paymentSystemName,
                                                      java.lang.String paymentConfigurationId)
                                               throws ConfigException,
                                                      InternalException
        This method gets the plugin adapter for the plugin which is determined by the payment system name and the payment configuration id.
        Parameters:
        paymentSystemName - The payments system name.
        paymentConfigurationId - The payment configuration id.
        Returns:
        The plugin adapter of the plugin.
        Throws:
        ConfigException - Thrown when the mapping can not be found for the paymentsystemname & the storeID to the plugin.
        InternalException - The internal exception.
      • getPaymentPlugin

        public static java.util.ArrayList getPaymentPlugin()
        This method gets the payment plugin list.
        Returns:
        The payment plugin list.
      • getPpcPaymentInstructionProtocolPropertyRetainList

        public static java.util.ArrayList getPpcPaymentInstructionProtocolPropertyRetainList()
        This method gets the list of property names defined in PaymentSystemPluginMapping file indicating PPC to save them to database. A global list apply to all plugins.
        Returns:
        The list of property names defined in PaymentSystemPluginMapping file indicating PPC to save them to database.
      • reloadConfiguration

        public static void reloadConfiguration()
        This method reloads the configuration.