org.objectweb.jonas.jtm.JTAResource Class Reference

Collaboration diagram for org.objectweb.jonas.jtm.JTAResource:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 JTAResource (String objectName, TransactionServiceImpl jtm, Integer timeOut, Boolean localJtm, Integer portNumber, String hostName)
Integer getTimeOut ()
void setTimeOut (Integer timeOut)
Boolean isLocalJtm ()
Integer getPortNumber ()
String getHostName ()
void saveConfig ()
Integer getTotalBegunTransactions ()
Integer getTotalCommittedTransactions ()
Integer getTotalCurrentTransactions ()
Integer getTotalExpiredTransactions ()
Integer getTotalRolledbackTransactions ()
void resetAllCounters ()
Xid[] getAllActiveXids ()
String[] getAllActiveTx ()

Static Public Attributes

final String SERVICE_NAME = "jtm"

Static Package Attributes

final String TIMEOUT = "jonas.service.jtm.timeout"

Detailed Description

MBean class for JTAResource Management
Author:
Eric Hardesty JSR 77 (J2EE Management Standard)

Definition at line 40 of file JTAResource.java.


Constructor & Destructor Documentation

org.objectweb.jonas.jtm.JTAResource.JTAResource String  objectName,
TransactionServiceImpl  jtm,
Integer  timeOut,
Boolean  localJtm,
Integer  portNumber,
String  hostName
 

JTA Resource constructor

Parameters:
objectName String conformant to a JTAResource OBJECT_NAME in JSR77
jtm Managed JTM
timeOut transactions time-out
localJtm true if JTM is local, false if remote
portNumber JTM port number
hostName JTM host name

Definition at line 92 of file JTAResource.java.


Member Function Documentation

String [] org.objectweb.jonas.jtm.JTAResource.getAllActiveTx  ) 
 

Returns:
Returns all active Transactions.

Definition at line 195 of file JTAResource.java.

References org.objectweb.jonas.jtm.TransactionServiceImpl.getAllActiveTx().

Here is the call graph for this function:

Xid [] org.objectweb.jonas.jtm.JTAResource.getAllActiveXids  ) 
 

Returns:
Returns all active Xids.

Definition at line 188 of file JTAResource.java.

References org.objectweb.jonas.jtm.TransactionServiceImpl.getAllActiveXids().

Here is the call graph for this function:

String org.objectweb.jonas.jtm.JTAResource.getHostName  ) 
 

Returns:
JTM host name

Definition at line 137 of file JTAResource.java.

Integer org.objectweb.jonas.jtm.JTAResource.getPortNumber  ) 
 

Returns:
JTM port number

Definition at line 130 of file JTAResource.java.

Integer org.objectweb.jonas.jtm.JTAResource.getTimeOut  ) 
 

Returns:
Returns the timeOut.

Definition at line 105 of file JTAResource.java.

Integer org.objectweb.jonas.jtm.JTAResource.getTotalBegunTransactions  ) 
 

Returns:
Returns the totalBegunTransactions.

Definition at line 151 of file JTAResource.java.

References org.objectweb.jonas.jtm.TransactionServiceImpl.getTotalBegunTransactions().

Here is the call graph for this function:

Integer org.objectweb.jonas.jtm.JTAResource.getTotalCommittedTransactions  ) 
 

Returns:
Returns the totalCommittedTransactions.

Definition at line 157 of file JTAResource.java.

References org.objectweb.jonas.jtm.TransactionServiceImpl.getTotalCommittedTransactions().

Here is the call graph for this function:

Integer org.objectweb.jonas.jtm.JTAResource.getTotalCurrentTransactions  ) 
 

Returns:
Returns the totalCurrentTransactions.

Definition at line 163 of file JTAResource.java.

References org.objectweb.jonas.jtm.TransactionServiceImpl.getTotalCurrentTransactions().

Here is the call graph for this function:

Integer org.objectweb.jonas.jtm.JTAResource.getTotalExpiredTransactions  ) 
 

Returns:
Returns the totalExpiredTransactions.

Definition at line 169 of file JTAResource.java.

References org.objectweb.jonas.jtm.TransactionServiceImpl.getTotalExpiredTransactions().

Here is the call graph for this function:

Integer org.objectweb.jonas.jtm.JTAResource.getTotalRolledbackTransactions  ) 
 

Returns:
Returns the totalRolledbackTransactions.

Definition at line 175 of file JTAResource.java.

References org.objectweb.jonas.jtm.TransactionServiceImpl.getTotalRolledbackTransactions().

Here is the call graph for this function:

Boolean org.objectweb.jonas.jtm.JTAResource.isLocalJtm  ) 
 

Returns:
true if JTM is local, false if remote

Definition at line 123 of file JTAResource.java.

void org.objectweb.jonas.jtm.JTAResource.resetAllCounters  ) 
 

Reset all transaction counters

Definition at line 181 of file JTAResource.java.

References org.objectweb.jonas.jtm.TransactionServiceImpl.resetAllTxTotalCounters().

Here is the call graph for this function:

void org.objectweb.jonas.jtm.JTAResource.saveConfig  ) 
 

Save updated configuration

Definition at line 144 of file JTAResource.java.

References org.objectweb.jonas.jtm.JTAResource.SERVICE_NAME.

void org.objectweb.jonas.jtm.JTAResource.setTimeOut Integer  timeOut  ) 
 

Parameters:
timeOut The timeOut to set.

Definition at line 112 of file JTAResource.java.

References org.objectweb.jonas.jtm.JTAResource.SERVICE_NAME, org.objectweb.jonas.jtm.TransactionServiceImpl.setTimeout(), and org.objectweb.jonas.jtm.JTAResource.TIMEOUT.

Here is the call graph for this function:


Member Data Documentation

final String org.objectweb.jonas.jtm.JTAResource.SERVICE_NAME = "jtm" [static]
 

Service name as used to label configuration properties

Definition at line 45 of file JTAResource.java.

Referenced by org.objectweb.jonas.jtm.JTAResource.saveConfig(), and org.objectweb.jonas.jtm.JTAResource.setTimeOut().

final String org.objectweb.jonas.jtm.JTAResource.TIMEOUT = "jonas.service.jtm.timeout" [static, package]
 

name of the 'timeout' configuration parameter

Definition at line 51 of file JTAResource.java.

Referenced by org.objectweb.jonas.jtm.JTAResource.setTimeOut().


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:07:03 2005 for JOnAS by  doxygen 1.3.9.1