public class MuleTransactionConfig extends Object implements TransactionConfig, MuleContextAware
MuleTransactionConfig
defines transaction configuration for a
transactional endpoint.Modifier and Type | Field and Description |
---|---|
static String |
ACTION_ALWAYS_BEGIN_STRING |
static String |
ACTION_ALWAYS_JOIN_STRING |
static String |
ACTION_BEGIN_OR_JOIN_STRING |
static String |
ACTION_INDIFFERENT_STRING |
static String |
ACTION_JOIN_IF_POSSIBLE_STRING |
static String |
ACTION_NEVER_STRING |
static String |
ACTION_NONE_STRING |
static String |
ACTION_NOT_SUPPORTED_STRING |
protected static Log |
logger
logger used by this class
|
ACTION_ALWAYS_BEGIN, ACTION_ALWAYS_JOIN, ACTION_BEGIN_OR_JOIN, ACTION_DEFAULT, ACTION_INDIFFERENT, ACTION_JOIN_IF_POSSIBLE, ACTION_NEVER, ACTION_NONE, ACTION_NOT_SUPPORTED
Constructor and Description |
---|
MuleTransactionConfig() |
MuleTransactionConfig(byte action) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte |
getAction() |
String |
getActionAsString() |
ConstraintFilter |
getConstraint() |
TransactionFactory |
getFactory() |
int |
getTimeout() |
int |
hashCode() |
boolean |
isConfigured() |
boolean |
isInteractWithExternal() |
boolean |
isTransacted()
Will the result, at the end of running the transaction template, be an active transaction?
|
void |
setAction(byte action) |
void |
setActionAsString(String action) |
void |
setConstraint(ConstraintFilter constraint) |
void |
setFactory(TransactionFactory factory) |
void |
setInteractWithExternal(boolean interactWithExternal) |
void |
setMuleContext(MuleContext context) |
void |
setTimeout(int timeout) |
String |
toString() |
protected static final Log logger
public static final String ACTION_NONE_STRING
public static final String ACTION_ALWAYS_BEGIN_STRING
public static final String ACTION_BEGIN_OR_JOIN_STRING
public static final String ACTION_ALWAYS_JOIN_STRING
public static final String ACTION_JOIN_IF_POSSIBLE_STRING
public static final String ACTION_NEVER_STRING
public static final String ACTION_INDIFFERENT_STRING
public static final String ACTION_NOT_SUPPORTED_STRING
public MuleTransactionConfig()
public MuleTransactionConfig(byte action)
public void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
public TransactionFactory getFactory()
getFactory
in interface TransactionConfig
public void setFactory(TransactionFactory factory)
setFactory
in interface TransactionConfig
public byte getAction()
getAction
in interface TransactionConfig
public void setAction(byte action)
setAction
in interface TransactionConfig
public boolean isInteractWithExternal()
isInteractWithExternal
in interface TransactionConfig
public void setInteractWithExternal(boolean interactWithExternal)
setInteractWithExternal
in interface TransactionConfig
public void setActionAsString(String action)
public String getActionAsString()
public boolean isTransacted()
isTransacted
in interface TransactionConfig
public boolean isConfigured()
isConfigured
in interface TransactionConfig
public ConstraintFilter getConstraint()
getConstraint
in interface TransactionConfig
public void setConstraint(ConstraintFilter constraint)
setConstraint
in interface TransactionConfig
public int getTimeout()
getTimeout
in interface TransactionConfig
public void setTimeout(int timeout)
setTimeout
in interface TransactionConfig
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.