public class PaymentActivity extends BaseActivity
| 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 |
| Constructor and Description |
|---|
PaymentActivity() |
| Modifier and Type | Method and Description |
|---|---|
ProcessContext |
execute(ProcessContext 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, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setRollbackHandler, setRollbackRegion, setStateConfigurationpublic 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 ProcessContext execute(ProcessContext 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.