org.mule.transaction
Class MuleTransactionConfig
java.lang.Object
org.mule.transaction.MuleTransactionConfig
- All Implemented Interfaces:
- MuleContextAware, TransactionConfig
public class MuleTransactionConfig
- extends Object
- implements TransactionConfig, MuleContextAware
MuleTransactionConfig
defines transaction configuration for a
transactional endpoint.
logger
protected static final Log logger
- logger used by this class
ACTION_NONE_STRING
public static final String ACTION_NONE_STRING
- See Also:
- Constant Field Values
ACTION_ALWAYS_BEGIN_STRING
public static final String ACTION_ALWAYS_BEGIN_STRING
- See Also:
- Constant Field Values
ACTION_BEGIN_OR_JOIN_STRING
public static final String ACTION_BEGIN_OR_JOIN_STRING
- See Also:
- Constant Field Values
ACTION_ALWAYS_JOIN_STRING
public static final String ACTION_ALWAYS_JOIN_STRING
- See Also:
- Constant Field Values
ACTION_JOIN_IF_POSSIBLE_STRING
public static final String ACTION_JOIN_IF_POSSIBLE_STRING
- See Also:
- Constant Field Values
ACTION_NEVER_STRING
public static final String ACTION_NEVER_STRING
- See Also:
- Constant Field Values
ACTION_INDIFFERENT_STRING
public static final String ACTION_INDIFFERENT_STRING
- See Also:
- Constant Field Values
ACTION_NOT_SUPPORTED_STRING
public static final String ACTION_NOT_SUPPORTED_STRING
- See Also:
- Constant Field Values
MuleTransactionConfig
public MuleTransactionConfig()
MuleTransactionConfig
public MuleTransactionConfig(byte action)
setMuleContext
public void setMuleContext(MuleContext context)
- Specified by:
setMuleContext
in interface MuleContextAware
getFactory
public TransactionFactory getFactory()
- Specified by:
getFactory
in interface TransactionConfig
setFactory
public void setFactory(TransactionFactory factory)
- Specified by:
setFactory
in interface TransactionConfig
getAction
public byte getAction()
- Specified by:
getAction
in interface TransactionConfig
setAction
public void setAction(byte action)
- Specified by:
setAction
in interface TransactionConfig
isInteractWithExternal
public boolean isInteractWithExternal()
- Specified by:
isInteractWithExternal
in interface TransactionConfig
setInteractWithExternal
public void setInteractWithExternal(boolean interactWithExternal)
- Specified by:
setInteractWithExternal
in interface TransactionConfig
setActionAsString
public void setActionAsString(String action)
getActionAsString
public String getActionAsString()
isTransacted
public boolean isTransacted()
- Will the result, at the end of running the transaction template, be an active transaction?
- Specified by:
isTransacted
in interface TransactionConfig
isConfigured
public boolean isConfigured()
- Specified by:
isConfigured
in interface TransactionConfig
getConstraint
public ConstraintFilter getConstraint()
- Specified by:
getConstraint
in interface TransactionConfig
setConstraint
public void setConstraint(ConstraintFilter constraint)
- Specified by:
setConstraint
in interface TransactionConfig
getTimeout
public int getTimeout()
- Specified by:
getTimeout
in interface TransactionConfig
setTimeout
public void setTimeout(int timeout)
- Specified by:
setTimeout
in interface TransactionConfig
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.