public class PluginFactory
extends java.lang.Object
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.
|
public static PluginAdapter getImplementation(java.lang.String paymentSystemName, java.lang.String paymentConfigurationId, java.util.Hashtable merchantConfInfos) throws ConfigException, InternalException
paymentSystemName
- The payments system name.paymentConfigurationId
- The payment configuration id.merchantConfInfos
- The Merchant Id.ConfigException
- Thrown when the mapping can not be found for the
paymentsystemname & the storeID to the plugin.InternalException
- The internal exception.public static java.util.HashMap getMerchantConfInfoProperties()
public static PluginAdapter getImplementation(java.lang.String paymentSystemName, java.lang.String paymentConfigurationId) throws ConfigException, InternalException
paymentSystemName
- The payments system name.paymentConfigurationId
- The payment configuration id.ConfigException
- Thrown when the mapping can not be found for the
paymentsystemname & the storeID to the plugin.InternalException
- The internal exception.public static java.util.ArrayList getPaymentPlugin()
public static java.util.ArrayList getPpcPaymentInstructionProtocolPropertyRetainList()
public static void reloadConfiguration()