public abstract class PluginAdapterBean
extends java.lang.Object
implements javax.ejb.SessionBean
Constructor and Description |
---|
PluginAdapterBean() |
Modifier and Type | Method and Description |
---|---|
FinancialTransaction | approve(PluginContext pluginContext, FinancialTransaction paymentTransaction, boolean retry)
This method executes the approve transaction.
|
FinancialTransaction | approveAndDeposit(PluginContext pluginContext, FinancialTransaction depositTransaction, boolean retry)
This method executes the approve and deposit payment transaction.
|
void | checkPaymentInstruction(PluginContext pluginContext, PaymentInstruction paymentInstruction)
This method checks the payment instruction.
|
FinancialTransaction | credit(PluginContext pluginContext, FinancialTransaction creditTransaction, boolean retry)
This method executes the credit payment transaction.
|
FinancialTransaction | deposit(PluginContext pluginContext, FinancialTransaction paymentTransaction, boolean retry)
This method executes the deposit payment transaction.
|
void | ejbActivate()
This is the implementation method of ejbActivate(It does nothing here).
|
void | ejbCreate()
This is the implementation method of ejbCreate(It does nothing here).
|
void | ejbPassivate()
This is the implementation method of ejbPassivate(It does nothing here).
|
void | ejbRemove()
This is the implementation method of ejbRemove(It does nothing here).
|
java.lang.String | getMessage(PluginContext pluginContext, java.lang.String messageKey)
This method returns the message from the pluginContext according to the message key.
|
javax.ejb.SessionContext | getSessionContext()
getSessionContext
|
FinancialTransaction | reverseApproval(PluginContext pluginContext, FinancialTransaction paymentTransaction, boolean retry)
This method executes the reverse approval payment transaction.
|
FinancialTransaction | reverseCredit(PluginContext pluginContext, FinancialTransaction creditTransaction, boolean retry)
This method executes the reverse credit payment transaction.
|
FinancialTransaction | reverseDeposit(PluginContext pluginContext, FinancialTransaction paymentTransaction, boolean retry)
This method executes the reverse deposit transaction.
|
void | setSessionContext(javax.ejb.SessionContext ctx)
This method returns the SessionContext.
|
void | validatePaymentInstruction(PluginContext pluginContext, PaymentInstruction paymentInstruction)
This method validates the payment instruction.
|
public javax.ejb.SessionContext getSessionContext()
public void setSessionContext(javax.ejb.SessionContext ctx)
public void ejbCreate() throws javax.ejb.CreateException
public void ejbActivate()
public void ejbPassivate()
public void ejbRemove()
public FinancialTransaction approve(PluginContext pluginContext, FinancialTransaction paymentTransaction, boolean retry) throws PluginException
public FinancialTransaction approveAndDeposit(PluginContext pluginContext, FinancialTransaction depositTransaction, boolean retry) throws PluginException
public void checkPaymentInstruction(PluginContext pluginContext, PaymentInstruction paymentInstruction) throws PluginException
public FinancialTransaction credit(PluginContext pluginContext, FinancialTransaction creditTransaction, boolean retry) throws PluginException
public FinancialTransaction deposit(PluginContext pluginContext, FinancialTransaction paymentTransaction, boolean retry) throws PluginException
public java.lang.String getMessage(PluginContext pluginContext, java.lang.String messageKey) throws PluginException
public FinancialTransaction reverseApproval(PluginContext pluginContext, FinancialTransaction paymentTransaction, boolean retry) throws PluginException
public FinancialTransaction reverseCredit(PluginContext pluginContext, FinancialTransaction creditTransaction, boolean retry) throws PluginException
public FinancialTransaction reverseDeposit(PluginContext pluginContext, FinancialTransaction paymentTransaction, boolean retry) throws PluginException
public void validatePaymentInstruction(PluginContext pluginContext, PaymentInstruction paymentInstruction) throws PluginException