BEA Systems, Inc.


weblogic.management.runtime
Interface JTARuntimeMBean


public interface JTARuntimeMBean
extends JTATransactionStatisticsRuntimeMBean, weblogic.health.HealthFeedback

This interface is used for accessing transaction runtime characteristics within a WebLogic server.


Method Summary
 int getActiveTransactionsTotalCount()
          Returns the number of active transactions on the server.
 weblogic.health.HealthState getHealthState()
          Returns the health state of the JTA subsystem.
 JTATransaction[] getJTATransactions()
          Returns an array of JTATransaction objects.
 JTARecoveryRuntimeMBean getRecoveryRuntimeMBean(java.lang.String serverName)
          Returns the runtime MBean for the Transaction Recovery Service of the specified server.
 JTARecoveryRuntimeMBean[] getRecoveryRuntimeMBeans()
          Returns the runtime MBeans for the Transaction Recovery Services that were deployed on this server.
 java.lang.String[] getRegisteredResourceNames()
          Returns an array of resource names that are registered with the transaction manager.
 TransactionNameRuntimeMBean[] getTransactionNameRuntimeMBeans()
          Returns an array of TransactionNameRuntimeMBeans that represent statistics for all transactions in the server, categorized by transaction name.
 TransactionResourceRuntimeMBean[] getTransactionResourceRuntimeMBeans()
          Returns an array of TransactionResourceRuntimeMBeans that each represents the statistics for a transaction resource.
 JTATransaction[] getTransactionsOlderThan(java.lang.Integer seconds)
          Returns an array of JTATransaction objects.
 
Methods inherited from interface weblogic.management.runtime.JTATransactionStatisticsRuntimeMBean
getSecondsActiveTotalCount, getTransactionAbandonedTotalCount, getTransactionRolledBackAppTotalCount, getTransactionRolledBackResourceTotalCount, getTransactionRolledBackSystemTotalCount, getTransactionRolledBackTimeoutTotalCount
 
Methods inherited from interface weblogic.management.runtime.JTAStatisticsRuntimeMBean
getTransactionCommittedTotalCount, getTransactionHeuristicsTotalCount, getTransactionRolledBackTotalCount, getTransactionTotalCount
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

getTransactionNameRuntimeMBeans

public TransactionNameRuntimeMBean[] getTransactionNameRuntimeMBeans()
                                                              throws java.rmi.RemoteException
Returns an array of TransactionNameRuntimeMBeans that represent statistics for all transactions in the server, categorized by transaction name.


getTransactionResourceRuntimeMBeans

public TransactionResourceRuntimeMBean[] getTransactionResourceRuntimeMBeans()
                                                                      throws java.rmi.RemoteException
Returns an array of TransactionResourceRuntimeMBeans that each represents the statistics for a transaction resource.


getTransactionsOlderThan

public JTATransaction[] getTransactionsOlderThan(java.lang.Integer seconds)
Returns an array of JTATransaction objects. Each object provides detailed information regarding an active transaction that has existed for a period longer than the time specified.

Parameters:
seconds - The transaction duration in seconds qualifier.

getJTATransactions

public JTATransaction[] getJTATransactions()
Returns an array of JTATransaction objects. Each object provides detailed information regarding an active transaction.


getRegisteredResourceNames

public java.lang.String[] getRegisteredResourceNames()
Returns an array of resource names that are registered with the transaction manager.


getActiveTransactionsTotalCount

public int getActiveTransactionsTotalCount()
Returns the number of active transactions on the server.


getRecoveryRuntimeMBeans

public JTARecoveryRuntimeMBean[] getRecoveryRuntimeMBeans()
Returns the runtime MBeans for the Transaction Recovery Services that were deployed on this server.


getRecoveryRuntimeMBean

public JTARecoveryRuntimeMBean getRecoveryRuntimeMBean(java.lang.String serverName)
Returns the runtime MBean for the Transaction Recovery Service of the specified server. If the Transaction Recovery Service of the specified server is not deployed on this server, null will be returned.


getHealthState

public weblogic.health.HealthState getHealthState()
Returns the health state of the JTA subsystem.
Specified by:
getHealthState in interface weblogic.health.HealthFeedback


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs70

Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
WebLogic Server 7.0 API Reference