public class PluginConfigurationImpl extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, PluginConfiguration
This class is the Plugin meta-data and configuration.
The PluginConfiguration
is an in-memory image of the Plugin deployment descriptor.
The Plugin deployment descriptor describes a Plugin implementation. It also provides
plugin-specific properties that can be used by the Plugin during the processing of
financial transactions.
Constructor and Description |
---|
PluginConfigurationImpl(java.lang.String name,
java.lang.String lookupName,
java.lang.String homeClass,
java.lang.String vendor,
java.lang.String version,
boolean indepedentCredit,
java.lang.String virtualTerminal,
boolean synchronizedLocalPaymentReversal,
java.util.HashMap properties)
This method creates a Plugin configuration container.
|
PluginConfigurationImpl(java.lang.String name,
java.lang.String lookupName,
java.lang.String homeClass,
java.lang.String vendor,
java.lang.String version,
boolean indepedentCredit,
java.lang.String virtualTerminal,
java.util.HashMap properties)
This method creates a Plugin configuration container.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
This method returns a shallow copy of this
PluginConfigurationImpl instance. |
java.lang.String |
getHomeClass()
This method gets the full-qualified name of the Plugin's implementation EJB SSB home class.
|
java.lang.String |
getLookupName()
This method gets the JNDI lookup name for the Plugin's EJB SSB home.
|
java.lang.String |
getName()
This method gets the name.
|
java.util.HashMap |
getProperties()
This method gets the list of Plugin-specific properties.
|
java.lang.String |
getVendor()
This method gets the name of the vendor implementing the Plugin.
|
java.lang.String |
getVersion()
This method gets the version of the Plugin implementation.
|
java.lang.String |
getVirtualTerminal()
This method gets the URL of the payment back-end system administration UI.
|
boolean |
isIndepedentCreditSupported()
This method checks if the Plugin supports independent credits.
|
boolean |
isSynchronizedLocalPaymentReversal()
This method gets value of
SynchronizedLocalPaymentReversal . |
void |
setHomeClass(java.lang.String homeClass)
This method sets the full-qualified name of the Plugin's implementation EJB SSB home class.
|
void |
setIndepedentCredit(boolean indepedentCredit)
This method sets if the Plugin supports independent credits.
|
void |
setLookupName(java.lang.String lookupName)
This method sets the JNDI lookup name for the Plugin's EJB SSB home.
|
void |
setName(java.lang.String name)
This method sets he name of the Plugin implementation.
|
void |
setProperties(java.util.HashMap properties)
This method sets the list of Plugin-specific properties.
|
void |
setSynchronizedLocalPaymentReversal(boolean synchronizedLocalPaymentReversal)
This method sets value of
SynchronizedLocalPaymentReversal . |
void |
setVendor(java.lang.String vendor)
This method sets the name of the vendor implementing the Plugin.
|
void |
setVersion(java.lang.String version)
This method sets the version of the Plugin implementation.
|
void |
setVirtualTerminal(java.lang.String virtualTerminal)
This method sets the URL of the payment back-end system administration UI.
|
java.lang.String |
toString()
This method obtains a human-readable representation of the
PluginConfiguration . |
public PluginConfigurationImpl(java.lang.String name, java.lang.String lookupName, java.lang.String homeClass, java.lang.String vendor, java.lang.String version, boolean indepedentCredit, java.lang.String virtualTerminal, java.util.HashMap properties)
This method creates a Plugin configuration container.
name
- The name of the Plugin implementation.lookupName
- The JNDI lookup name for the Plugin's EJB SSB home.homeClass
- The full-qualified name of the Plugin's implementation EJB SSB
home class.vendor
- The name of the vendor implementing the Plugin.version
- The version of the Plugin implementation.indepedentCredit
- If the Plugin supports independent credits.virtualTerminal
- The URL of the payment back-end system administration UI.properties
- The list of Plugin-specific properties.public PluginConfigurationImpl(java.lang.String name, java.lang.String lookupName, java.lang.String homeClass, java.lang.String vendor, java.lang.String version, boolean indepedentCredit, java.lang.String virtualTerminal, boolean synchronizedLocalPaymentReversal, java.util.HashMap properties)
This method creates a Plugin configuration container.
name
- The name of the Plugin implementation.lookupName
- The JNDI lookup name for the Plugin's EJB SSB home.homeClass
- The full-qualified name of the Plugin's implementation EJB SSB
home class.vendor
- The name of the vendor implementing the Plugin.version
- The version of the Plugin implementation.indepedentCredit
- If the Plugin supports independent credits.virtualTerminal
- The URL of the payment back-end system administration UI.synchronizedLocalPaymentReversal
- The configuration point for locally partial reverse approval.properties
- The list of Plugin-specific properties.public void setHomeClass(java.lang.String homeClass)
homeClass
- The full-qualified name of the Plugin's implementation EJB SSB home class.public java.lang.String getHomeClass()
getHomeClass
in interface PluginConfiguration
public void setIndepedentCredit(boolean indepedentCredit)
indepedentCredit
- If the Plugin supports independent credits.public boolean isIndepedentCreditSupported()
This method checks if the Plugin supports independent credits.
isIndepedentCreditSupported
in interface PluginConfiguration
public void setLookupName(java.lang.String lookupName)
lookupName
- The JNDI lookup name for the Plugin's EJB SSB home.public java.lang.String getLookupName()
getLookupName
in interface PluginConfiguration
public void setName(java.lang.String name)
name
- The name of the Plugin implementation.public java.lang.String getName()
getName
in interface PluginConfiguration
public void setProperties(java.util.HashMap properties)
properties
- The list of Plugin-specific properties.public java.util.HashMap getProperties()
getProperties
in interface PluginConfiguration
public void setVendor(java.lang.String vendor)
vendor
- The name of the vendor implementing the Plugin.public java.lang.String getVendor()
getVendor
in interface PluginConfiguration
public void setVersion(java.lang.String version)
version
- The version of the Plugin implementation.public java.lang.String getVersion()
getVersion
in interface PluginConfiguration
public void setVirtualTerminal(java.lang.String virtualTerminal)
virtualTerminal
- The URL of the payment back-end system administration UI.public java.lang.String getVirtualTerminal()
getVirtualTerminal
in interface PluginConfiguration
public boolean isSynchronizedLocalPaymentReversal()
SynchronizedLocalPaymentReversal
.SynchronizedLocalPaymentReversal. The default value is false in case you do not configure it.
public void setSynchronizedLocalPaymentReversal(boolean synchronizedLocalPaymentReversal)
SynchronizedLocalPaymentReversal
.synchronizedLocalPaymentReversal
- the configuration value of SynchronizedLocalPaymentReversal. The default value is false in case you do not set it.
public java.lang.String toString()
This method obtains a human-readable representation of the PluginConfiguration
.
toString
in interface PluginConfiguration
toString
in class java.lang.Object
PluginConfiguration
.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
This method returns a shallow copy of this PluginConfigurationImpl
instance.
clone
in class java.lang.Object
PluginConfigurationImpl
instance.java.lang.CloneNotSupportedException
- If the instance cannot be cloned.