84 lines
3.3 KiB
XML
84 lines
3.3 KiB
XML
<?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,v 1.1 2006/04/21 17:58:45 jjanke Exp $ -->
|
|
<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="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> |