public class MuleTransactionConfig extends Object implements TransactionConfig
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_JOIN_IF_POSSIBLE_STRING |
static String |
ACTION_NEVER_STRING |
static String |
ACTION_NONE_STRING |
protected static org.apache.commons.logging.Log |
logger
logger used by this class
|
ACTION_ALWAYS_BEGIN, ACTION_ALWAYS_JOIN, ACTION_BEGIN_OR_JOIN, ACTION_DEFAULT, ACTION_JOIN_IF_POSSIBLE, ACTION_NEVER, ACTION_NONE
Constructor and Description |
---|
MuleTransactionConfig() |
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 |
isTransacted() |
void |
setAction(byte action) |
void |
setActionAsString(String action) |
void |
setConstraint(ConstraintFilter constraint) |
void |
setFactory(TransactionFactory factory) |
void |
setTimeout(int timeout) |
String |
toString() |
protected static final org.apache.commons.logging.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 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 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–2013 MuleSource, Inc.. All rights reserved.