|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arjuna.ats.jta.common.JTAEnvironmentBean
public class JTAEnvironmentBean
A JavaBean containing configuration properties for the JTA subsystem.
Constructor Summary | |
---|---|
JTAEnvironmentBean()
|
Method Summary | |
---|---|
java.lang.String |
getJtaTMImplementation()
Returns the classname of the javax.transaction.TransactionManager implementation. |
java.lang.String |
getJtaTMJNDIContext()
Returns the JNDI bind name for the implementation of TransactionManager. |
java.lang.String |
getJtaTSRImplementation()
Returns the classname of the javax.transaction.TransactionSynchronizationRegistry implementation. |
java.lang.String |
getJtaTSRJNDIContext()
Returns the JNDI bind name for the implementation of TransactionSynchronizationRegistry. |
java.lang.String |
getJtaUTImplementation()
Returns the classname of the javax.transaction.UserTransaction implementation. |
java.lang.String |
getJtaUTJNDIContext()
Returns the JNDI bind name for the implementation of UserTransaction. |
java.lang.String |
getLastResourceOptimisationInterface()
Returns the classname of the marker interface used to indicate a LastResource. |
java.lang.String |
getPropertiesFile()
Returns the name of the properties file. |
int |
getXaBackoffPeriod()
Deprecated. I'm not unsed, remove me. |
java.util.List<java.lang.String> |
getXaErrorHandlers()
Returns the set of XAResourceMap implementation classnames used to configure XAException handling. |
java.util.List<java.lang.String> |
getXaRecoveryNodes()
Returns the set of node identifiers for which recovery will be performed. |
java.util.List<java.lang.String> |
getXaResourceRecoveryInstances()
Returns the set of XAResourceRecovery implementation classnames, each of which may have configuration data appended to it. |
boolean |
isSupportSubtransactions()
Returns true if subtransactions are allowed. |
boolean |
isXaAssumeRecoveryComplete()
Returns if XAResources that can't be recovered should be assumed to have completed. |
boolean |
isXaRollbackOptimization()
Returns if connections associated to XAResources that fail during prepare should be cleaned up immediately. |
boolean |
isXaTransactionTimeoutEnabled()
Returns if the transaction timeout is passed on to the enlisted XAResources. |
void |
setJtaTMImplementation(java.lang.String jtaTMImplementation)
Sets the classname of the javax.transaction.TransactionManager implementation. |
void |
setJtaTMJNDIContext(java.lang.String jtaTMJNDIContext)
Sets the JNDI bind name for the implementation of TransactionManager. |
void |
setJtaTSRImplementation(java.lang.String jtaTSRImplementation)
Sets the classname of the javax.transaction.TransactionSynchronizationRegistry implementation. |
void |
setJtaTSRJNDIContext(java.lang.String jtaTSRJNDIContext)
Sets tje JNDI bind name for the implementation of TransactionSynchronizationRegistry. |
void |
setJtaUTImplementation(java.lang.String jtaUTImplementation)
Sets the classname of the javax.transaction.UserTransaction implementation. |
void |
setJtaUTJNDIContext(java.lang.String jtaUTJNDIContext)
Sets the JNDI bind name for the implementation of UserTransaction. |
void |
setLastResourceOptimisationInterface(java.lang.String lastResourceOptimisationInterface)
Sets the classname of the marker interface used to indicate a LastResource. |
void |
setPropertiesFile(java.lang.String propertiesFile)
Sets the name of the properties file. |
void |
setSupportSubtransactions(boolean supportSubtransactions)
Sets if subtransactions should be allowed. |
void |
setXaAssumeRecoveryComplete(boolean xaAssumeRecoveryComplete)
Sets if XAResources that can't be recovered should be assumed to have completed. |
void |
setXaBackoffPeriod(int xaBackoffPeriod)
Sets the XA backoff period, in milliseconds. |
void |
setXaErrorHandlers(java.util.List<java.lang.String> xaErrorHandlers)
Sets the names of the XAResourceMap classes used for XAException handling. |
void |
setXaRecoveryNodes(java.util.List<java.lang.String> xaRecoveryNodes)
Sets the node identifiers for which recovery will be performed. |
void |
setXaResourceRecoveryInstances(java.util.List<java.lang.String> xaResourceRecoveryInstances)
Sets the XAResourceRecovery implementations that will be used, each optionally including trailing configuration data. |
void |
setXaRollbackOptimization(boolean xaRollbackOptimization)
Sets if failed resources should be cleaned up during prepare or during phase two. |
void |
setXaTransactionTimeoutEnabled(boolean xaTransactionTimeoutEnabled)
Sets if the transaction timeout should be passed to the enlisted XAResource or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JTAEnvironmentBean()
Method Detail |
---|
public java.lang.String getPropertiesFile()
getPropertiesFile
in interface JTAEnvironmentBeanMBean
public void setPropertiesFile(java.lang.String propertiesFile)
setPropertiesFile
in interface JTAEnvironmentBeanMBean
propertiesFile
- the name of the properties file.public boolean isSupportSubtransactions()
isSupportSubtransactions
in interface JTAEnvironmentBeanMBean
public void setSupportSubtransactions(boolean supportSubtransactions)
setSupportSubtransactions
in interface JTAEnvironmentBeanMBean
supportSubtransactions
- true to enable subtransactions, false to disable.public java.lang.String getJtaTMImplementation()
getJtaTMImplementation
in interface JTAEnvironmentBeanMBean
public void setJtaTMImplementation(java.lang.String jtaTMImplementation)
setJtaTMImplementation
in interface JTAEnvironmentBeanMBean
jtaTMImplementation
- the name of a class which implements TransactionManager.public java.lang.String getJtaUTImplementation()
getJtaUTImplementation
in interface JTAEnvironmentBeanMBean
public void setJtaUTImplementation(java.lang.String jtaUTImplementation)
setJtaUTImplementation
in interface JTAEnvironmentBeanMBean
jtaUTImplementation
- the name of a class which implements UserTransaction.public java.lang.String getJtaTSRImplementation()
getJtaTSRImplementation
in interface JTAEnvironmentBeanMBean
public void setJtaTSRImplementation(java.lang.String jtaTSRImplementation)
setJtaTSRImplementation
in interface JTAEnvironmentBeanMBean
jtaTSRImplementation
- the name of a class which implements TransactionSynchronizationRegistry.public int getXaBackoffPeriod()
getXaBackoffPeriod
in interface JTAEnvironmentBeanMBean
public void setXaBackoffPeriod(int xaBackoffPeriod)
setXaBackoffPeriod
in interface JTAEnvironmentBeanMBean
xaBackoffPeriod
- the XA backoff period, in milliseconds.public java.util.List<java.lang.String> getXaRecoveryNodes()
getXaRecoveryNodes
in interface JTAEnvironmentBeanMBean
public void setXaRecoveryNodes(java.util.List<java.lang.String> xaRecoveryNodes)
setXaRecoveryNodes
in interface JTAEnvironmentBeanMBean
xaRecoveryNodes
- the set of node identifiers for which to perform recovery.public java.util.List<java.lang.String> getXaResourceRecoveryInstances()
getXaResourceRecoveryInstances
in interface JTAEnvironmentBeanMBean
public void setXaResourceRecoveryInstances(java.util.List<java.lang.String> xaResourceRecoveryInstances)
setXaResourceRecoveryInstances
in interface JTAEnvironmentBeanMBean
xaResourceRecoveryInstances
- the XAResourceRecovery implementaion classnames and configuration.public boolean isXaRollbackOptimization()
isXaRollbackOptimization
in interface JTAEnvironmentBeanMBean
public void setXaRollbackOptimization(boolean xaRollbackOptimization)
setXaRollbackOptimization
in interface JTAEnvironmentBeanMBean
xaRollbackOptimization
- true for immediate cleanup, false for phase two cleanup.public boolean isXaAssumeRecoveryComplete()
isXaAssumeRecoveryComplete
in interface JTAEnvironmentBeanMBean
public void setXaAssumeRecoveryComplete(boolean xaAssumeRecoveryComplete)
setXaAssumeRecoveryComplete
in interface JTAEnvironmentBeanMBean
xaAssumeRecoveryComplete
- true to enable completion assumption, false to disable.public java.lang.String getJtaUTJNDIContext()
getJtaUTJNDIContext
in interface JTAEnvironmentBeanMBean
public void setJtaUTJNDIContext(java.lang.String jtaUTJNDIContext)
setJtaUTJNDIContext
in interface JTAEnvironmentBeanMBean
jtaUTJNDIContext
- the JNDI bind location for the UserTransaction interface.public java.lang.String getJtaTMJNDIContext()
getJtaTMJNDIContext
in interface JTAEnvironmentBeanMBean
public void setJtaTMJNDIContext(java.lang.String jtaTMJNDIContext)
setJtaTMJNDIContext
in interface JTAEnvironmentBeanMBean
jtaTMJNDIContext
- the JNDI bind location for the TransactionManager interface.public java.lang.String getJtaTSRJNDIContext()
getJtaTSRJNDIContext
in interface JTAEnvironmentBeanMBean
public void setJtaTSRJNDIContext(java.lang.String jtaTSRJNDIContext)
setJtaTSRJNDIContext
in interface JTAEnvironmentBeanMBean
jtaTSRJNDIContext
- the JNDI bind location for the TransactionSynchronizationRegistry implementation.public java.util.List<java.lang.String> getXaErrorHandlers()
getXaErrorHandlers
in interface JTAEnvironmentBeanMBean
public void setXaErrorHandlers(java.util.List<java.lang.String> xaErrorHandlers)
setXaErrorHandlers
in interface JTAEnvironmentBeanMBean
xaErrorHandlers
- a set of names of classes, each implementing XAResourceMap.public boolean isXaTransactionTimeoutEnabled()
isXaTransactionTimeoutEnabled
in interface JTAEnvironmentBeanMBean
public void setXaTransactionTimeoutEnabled(boolean xaTransactionTimeoutEnabled)
setXaTransactionTimeoutEnabled
in interface JTAEnvironmentBeanMBean
xaTransactionTimeoutEnabled
- true to enable setting XAResource timeouts, false to disable.public java.lang.String getLastResourceOptimisationInterface()
getLastResourceOptimisationInterface
in interface JTAEnvironmentBeanMBean
public void setLastResourceOptimisationInterface(java.lang.String lastResourceOptimisationInterface)
setLastResourceOptimisationInterface
in interface JTAEnvironmentBeanMBean
lastResourceOptimisationInterface
- the classname of the marker interface.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |