站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 transaction API Documentation 英文版文档

TransactionManagerServiceMBean (JBoss Transaction API) - JBoss 3.2.7 transaction API Documentation 英文版文档


org.jboss.tm
Interface TransactionManagerServiceMBean

All Superinterfaces:
org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
TransactionManagerService

public interface TransactionManagerServiceMBean
extends org.jboss.system.ServiceMBean

MBean interface.

See Also:
TxManager

Field Summary
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Method Summary
 long getCommitCount()
          The number of commits.
 long getRollbackCount()
          The number of rollbacks.
 long getTransactionCount()
          Counts the number of transactions
 TransactionManager getTransactionManager()
          mbean get-set pair for field transactionManager Get the value of transactionManager
 int getTransactionTimeout()
          Describe getTransactionTimeout method here.
 javax.management.ObjectName getXidFactory()
          mbean get-set pair for field xidFactory Get the value of xidFactory
 void registerXAExceptionFormatter(Class clazz, XAExceptionFormatter formatter)
          The registerXAExceptionFormatter method
 void setTransactionTimeout(int timeout)
          Describe setTransactionTimeout method here.
 void setXidFactory(javax.management.ObjectName xidFactory)
          Set the value of xidFactory
 void unregisterXAExceptionFormatter(Class clazz)
          The unregisterXAExceptionFormatter method
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Method Detail

getTransactionTimeout

public int getTransactionTimeout()
Describe getTransactionTimeout method here.

Returns:
an int value

setTransactionTimeout

public void setTransactionTimeout(int timeout)
Describe setTransactionTimeout method here.

Parameters:
timeout - an int value

getXidFactory

public javax.management.ObjectName getXidFactory()
mbean get-set pair for field xidFactory Get the value of xidFactory

Returns:
value of xidFactory

setXidFactory

public void setXidFactory(javax.management.ObjectName xidFactory)
Set the value of xidFactory

Parameters:
xidFactory - Value to assign to xidFactory

getTransactionManager

public TransactionManager getTransactionManager()
mbean get-set pair for field transactionManager Get the value of transactionManager

Returns:
value of transactionManager

getTransactionCount

public long getTransactionCount()
Counts the number of transactions

Returns:
the number of active transactions

getCommitCount

public long getCommitCount()
The number of commits.

Returns:
the number of transactions that have been committed

getRollbackCount

public long getRollbackCount()
The number of rollbacks.

Returns:
the number of transactions that have been rolled back

registerXAExceptionFormatter

public void registerXAExceptionFormatter(Class clazz,
                                         XAExceptionFormatter formatter)
The registerXAExceptionFormatter method

Parameters:
clazz - a Class value
formatter - a XAExceptionFormatter value

unregisterXAExceptionFormatter

public void unregisterXAExceptionFormatter(Class clazz)
The unregisterXAExceptionFormatter method

Parameters:
clazz - a Class value


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.