| org.objectweb.jonas.management.j2eemanagement.J2EEResource org.objectweb.jonas.jtm.JTAResource
JTAResource | public class JTAResource extends J2EEResource (Code) | | MBean class for JTAResource Management
author: Eric Hardesty JSR 77 (J2EE Management Standard) |
SERVICE_NAME | final public static String SERVICE_NAME(Code) | | Service name as used to label configuration properties
|
TIMEOUT | final static String TIMEOUT(Code) | | name of the 'timeout' configuration parameter
|
JTAResource | public JTAResource(String objectName, TransactionServiceImpl jtm, Integer timeOut, Boolean localJtm, Integer portNumber, String hostName)(Code) | | JTA Resource constructor
Parameters: objectName - String conformant to a JTAResource OBJECT_NAME in JSR77 Parameters: jtm - Managed JTM Parameters: timeOut - transactions time-out Parameters: localJtm - true if JTM is local, false if remote Parameters: portNumber - JTM port number Parameters: hostName - JTM host name |
commitXAResource | public int commitXAResource(String xatx)(Code) | | Returns all XAResources that require administrator recovery action. |
forgetXAResource | public int forgetXAResource(String xatx)(Code) | | Returns all XAResources that require administrator recovery action. |
getAllActiveTx | public String[] getAllActiveTx()(Code) | | Returns all active Transactions. |
getAllActiveXids | public Xid[] getAllActiveXids()(Code) | | Returns all active Xids. |
getAllRecoveryTx | public String[] getAllRecoveryTx()(Code) | | Returns all Transactions that require administrator recovery action. |
getAllXAResource | public String[] getAllXAResource(String xatx)(Code) | | Returns all XAResources that require administrator recovery action. |
getPortNumber | public Integer getPortNumber()(Code) | | JTM port number |
getTotalBegunTransactions | public Integer getTotalBegunTransactions()(Code) | | Returns the totalBegunTransactions. |
getTotalCommittedTransactions | public Integer getTotalCommittedTransactions()(Code) | | Returns the totalCommittedTransactions. |
getTotalCurrentTransactions | public Integer getTotalCurrentTransactions()(Code) | | Returns the totalCurrentTransactions. |
getTotalExpiredTransactions | public Integer getTotalExpiredTransactions()(Code) | | Returns the totalExpiredTransactions. |
getTotalRolledbackTransactions | public Integer getTotalRolledbackTransactions()(Code) | | Returns the totalRolledbackTransactions. |
isLocalJtm | public Boolean isLocalJtm()(Code) | | true if JTM is local, false if remote |
resetAllCounters | public void resetAllCounters()(Code) | | Reset all transaction counters
|
rollbackXAResource | public int rollbackXAResource(String xatx)(Code) | | Returns all XAResources that require administrator recovery action. |
saveConfig | public void saveConfig()(Code) | | Save updated configuration
|
setTimeOut | public void setTimeOut(Integer timeOut)(Code) | | Parameters: timeOut - The timeOut to set. |
|
|