Java Doc for Status.java in  » EJB-Server-GlassFish » jts » javax » transaction » 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 » EJB Server GlassFish » jts » javax.transaction 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.transaction.Status

Status
public interface Status (Code)
The Status interface defines static variables used for transaction status codes.


Field Summary
final public static  intSTATUS_ACTIVE
     A transaction is associated with the target object and it is in the active state.
final public static  intSTATUS_COMMITTED
     A transaction is associated with the target object and it has been committed.
final public static  intSTATUS_COMMITTING
     A transaction is associated with the target object and it is in the process of committing.
final public static  intSTATUS_MARKED_ROLLBACK
     A transaction is associated with the target object and it has been marked for rollback, perhaps as a result of a setRollbackOnly operation.
final public static  intSTATUS_NO_TRANSACTION
     No transaction is currently associated with the target object.
final public static  intSTATUS_PREPARED
     A transaction is associated with the target object and it has been prepared.
final public static  intSTATUS_PREPARING
     A transaction is associated with the target object and it is in the process of preparing.
final public static  intSTATUS_ROLLEDBACK
     A transaction is associated with the target object and the outcome has been determined to be rollback.
final public static  intSTATUS_ROLLING_BACK
     A transaction is associated with the target object and it is in the process of rolling back.
final public static  intSTATUS_UNKNOWN
     A transaction is associated with the target object but its current status cannot be determined.



Field Detail
STATUS_ACTIVE
final public static int STATUS_ACTIVE(Code)
A transaction is associated with the target object and it is in the active state. An implementation returns this status after a transaction has been started and prior to a Coordinator issuing any prepares, unless the transaction has been marked for rollback.



STATUS_COMMITTED
final public static int STATUS_COMMITTED(Code)
A transaction is associated with the target object and it has been committed. It is likely that heuristics exist; otherwise, the transaction would have been destroyed and NoTransaction returned.



STATUS_COMMITTING
final public static int STATUS_COMMITTING(Code)
A transaction is associated with the target object and it is in the process of committing. An implementation returns this status if it has decided to commit but has not yet completed the committing process. This occurs because the implementation is probably waiting for responses from one or more Resources.



STATUS_MARKED_ROLLBACK
final public static int STATUS_MARKED_ROLLBACK(Code)
A transaction is associated with the target object and it has been marked for rollback, perhaps as a result of a setRollbackOnly operation.



STATUS_NO_TRANSACTION
final public static int STATUS_NO_TRANSACTION(Code)
No transaction is currently associated with the target object. This will occur after a transaction has completed.



STATUS_PREPARED
final public static int STATUS_PREPARED(Code)
A transaction is associated with the target object and it has been prepared. That is, all subordinates have agreed to commit. The target object may be waiting for instructions from a superior as to how to proceed.



STATUS_PREPARING
final public static int STATUS_PREPARING(Code)
A transaction is associated with the target object and it is in the process of preparing. An implementation returns this status if it has started preparing, but has not yet completed the process. The likely reason for this is that the implementation is probably waiting for responses to prepare from one or more Resources.



STATUS_ROLLEDBACK
final public static int STATUS_ROLLEDBACK(Code)
A transaction is associated with the target object and the outcome has been determined to be rollback. It is likely that heuristics exist; otherwise, the transaction would have been destroyed and NoTransaction returned.



STATUS_ROLLING_BACK
final public static int STATUS_ROLLING_BACK(Code)
A transaction is associated with the target object and it is in the process of rolling back. An implementation returns this status if it has decided to rollback but has not yet completed the process. The implementation is probably waiting for responses from one or more Resources.



STATUS_UNKNOWN
final public static int STATUS_UNKNOWN(Code)
A transaction is associated with the target object but its current status cannot be determined. This is a transient condition and a subsequent invocation will ultimately return a different status.





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