<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mbean PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.1//EN" "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd"> <!-- $Id: TransactionManagerService-xmbean.xml 32334 2005-06-17 06:45:59Z adrian $ --> <mbean> <description>TransactionManager Service.</description> <class>org.jboss.tm.TransactionManagerService</class> &defaultAttributes; <attribute access="read-write" getMethod="getGlobalIdsEnabled" setMethod="setGlobalIdsEnabled"> <description>Should be set to true for transaction demarcation over IIOP</description> <name>GlobalIdsEnabled</name> <type>boolean</type> </attribute> <attribute access="read-write" getMethod="isInterruptThreads" setMethod="setInterruptThreads"> <description>Whether to interrupt threads at transaction timeout</description> <name>InterruptThreads</name> <type>boolean</type> </attribute> <attribute access="read-write" getMethod="getTransactionTimeout" setMethod="setTransactionTimeout"> <description>The transaction timeout in seconds</description> <name>TransactionTimeout</name> <type>int</type> </attribute> <attribute access="read-write" getMethod="getXidFactory" setMethod="setXidFactory"> <description>Name of the xidFactory</description> <name>XidFactory</name> <type>javax.management.ObjectName</type> </attribute> <attribute access="write-only" setMethod="setTransactionIntegrityFactory"> <description>Transaction Integrity Policy</description> <name>TransactionIntegrityFactory</name> <type>org.jboss.tm.integrity.TransactionIntegrityFactory</type> </attribute> <attribute access="read-only" getMethod="getTransactionManager"> <description>Returns the TransactionManager managed by this service</description> <name>TransactionManager</name> <type>javax.transaction.TransactionManager</type> </attribute> <attribute access="read-only" getMethod="getXATerminator"> <description>Returns the XATerminator managed by this service</description> <name>XATerminator</name> <type>org.jboss.tm.JBossXATerminator</type> </attribute> <attribute access="read-only" getMethod="getTransactionCount"> <description>Counts the number of active transactions</description> <name>TransactionCount</name> <type>long</type> </attribute> <attribute access="read-only" getMethod="getCommitCount"> <description>Counts the number of commited transactions</description> <name>CommitCount</name> <type>long</type> </attribute> <attribute access="read-only" getMethod="getRollbackCount"> <description>Counts the number of transactions that have been rolled back</description> <name>RollbackCount</name> <type>long</type> </attribute> <operation> <description>Register a XAException Formatter</description> <name>registerXAExceptionFormatter</name> <parameter> <description>The class of the formatter</description> <name>clazz</name> <type>java.lang.Class</type> </parameter> <parameter> <description>A XAExceptionFromatter value</description> <name>formatter</name> <type>org.jboss.tm.XAExceptionFormatter</type> </parameter> <return-type>void</return-type> </operation> <operation> <description>Unregister a XAException Formatter</description> <name>unregisterXAExceptionFormatter</name> <parameter> <description>The class of the formatter</description> <name>clazz</name> <type>java.lang.Class</type> </parameter> <return-type>void</return-type> </operation> &defaultOperations; </mbean>