Java Doc for JTAResource.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » jtm » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » JOnAS 4.8.6 » org.objectweb.jonas.jtm 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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)


Field Summary
final public static  StringSERVICE_NAME
    
final static  StringTIMEOUT
    

Constructor Summary
public  JTAResource(String objectName, TransactionServiceImpl jtm, Integer timeOut, Boolean localJtm, Integer portNumber, String hostName)
    

Method Summary
public  intcommitXAResource(String xatx)
    
public  intforgetXAResource(String xatx)
    
public  String[]getAllActiveTx()
    
public  Xid[]getAllActiveXids()
    
public  String[]getAllRecoveryTx()
    
public  String[]getAllXAResource(String xatx)
    
public  StringgetHostName()
    
public  IntegergetPortNumber()
    
public  IntegergetTimeOut()
    
public  IntegergetTotalBegunTransactions()
    
public  IntegergetTotalCommittedTransactions()
    
public  IntegergetTotalCurrentTransactions()
    
public  IntegergetTotalExpiredTransactions()
    
public  IntegergetTotalRolledbackTransactions()
    
public  BooleanisLocalJtm()
    
public  voidresetAllCounters()
    
public  introllbackXAResource(String xatx)
    
public  voidsaveConfig()
    
public  voidsetTimeOut(Integer timeOut)
    

Field Detail
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




Constructor Detail
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




Method Detail
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.



getHostName
public String getHostName()(Code)
JTM host name



getPortNumber
public Integer getPortNumber()(Code)
JTM port number



getTimeOut
public Integer getTimeOut()(Code)
Returns the timeOut.



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.




www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.