public class PaymentActivity extends BaseActivity<WorkflowPaymentContext>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
automaticallyRegisterRollbackHandlerForPayment |
protected PaymentService |
paymentService |
static String |
ROLLBACK_ACTIONTYPE |
static String |
ROLLBACK_PAYMENTCONTEXT |
static String |
ROLLBACK_RESPONSEITEM |
protected String |
userName |
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfiguration| Constructor and Description |
|---|
PaymentActivity() |
| Modifier and Type | Method and Description |
|---|---|
WorkflowPaymentContext |
execute(WorkflowPaymentContext context)
Called by the encompassing processor to activate
the execution of the Activity
|
boolean |
getAutomaticallyRegisterRollbackHandlerForPayment() |
PaymentService |
getPaymentService() |
String |
getUserName() |
void |
setAutomaticallyRegisterRollbackHandlerForPayment(boolean automaticallyRegisterRollbackHandlerForPayment) |
void |
setPaymentService(PaymentService paymentService) |
void |
setUserName(String userName) |
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecutepublic static final String ROLLBACK_PAYMENTCONTEXT
public static final String ROLLBACK_RESPONSEITEM
public static final String ROLLBACK_ACTIONTYPE
protected PaymentService paymentService
protected String userName
protected boolean automaticallyRegisterRollbackHandlerForPayment
public WorkflowPaymentContext execute(WorkflowPaymentContext context) throws Exception
Activitycontext - - process context for this workflowExceptionpublic PaymentService getPaymentService()
public void setPaymentService(PaymentService paymentService)
public String getUserName()
public void setUserName(String userName)
public boolean getAutomaticallyRegisterRollbackHandlerForPayment()
public void setAutomaticallyRegisterRollbackHandlerForPayment(boolean automaticallyRegisterRollbackHandlerForPayment)
Copyright © 2014. All Rights Reserved.