Java Doc for TransactionCurrentImpl.java in  » Collaboration » JacORB » org » jacorb » 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 » Collaboration » JacORB » org.jacorb.transaction 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.omg.CORBA.LocalObject
      org.jacorb.transaction.TransactionCurrentImpl

TransactionCurrentImpl
public class TransactionCurrentImpl extends org.omg.CORBA.LocalObject implements Current(Code)
This class represents the transaction current. It is a very simple implementation wich mostly maps to the methods in the control.
author:
   Nicolas Noffke
author:
   Vladimir Mencl
version:
   $Id: TransactionCurrentImpl.java,v 1.17 2005/11/20 13:48:16 andre.spiegel Exp $



Constructor Summary
public  TransactionCurrentImpl(ORB orb, int slot_id)
    
public  TransactionCurrentImpl()
     Creates a non-functional current.

Method Summary
public  voidbegin()
     Start a new transaction.
public  voidcommit(boolean report_heuristics)
    
public static  ControlgetControl(org.omg.CORBA.ORB orb)
     This method is a convenience method for the server programmer the exctract the Control from the PICurrent.
public  Controlget_control()
     This and the following method should actually throw NoTransaction, but that is against the spec.
public  Statusget_status()
    
public  Stringget_transaction_name()
    
public  voidresume(Control which)
    
public  voidrollback()
    
public  voidrollback_only()
    
public  voidsetCurrentThreadContext(Control control)
    
public  voidset_timeout(int seconds)
    
public  Controlsuspend()
    


Constructor Detail
TransactionCurrentImpl
public TransactionCurrentImpl(ORB orb, int slot_id)(Code)



TransactionCurrentImpl
public TransactionCurrentImpl()(Code)
Creates a non-functional current.




Method Detail
begin
public void begin() throws SubtransactionsUnavailable(Code)
Start a new transaction. The propagation context will be transfered on ALL communication (~1k extra data) from now on, until the transaction is committed or rolled back.
NOTICE: the PropagationContext might not be set up fully compliant to the Spec.



commit
public void commit(boolean report_heuristics) throws NoTransaction, HeuristicMixed, HeuristicHazard(Code)



getControl
public static Control getControl(org.omg.CORBA.ORB orb)(Code)
This method is a convenience method for the server programmer the exctract the Control from the PICurrent.



get_control
public Control get_control()(Code)
This and the following method should actually throw NoTransaction, but that is against the spec.



get_status
public Status get_status()(Code)



get_transaction_name
public String get_transaction_name()(Code)



resume
public void resume(Control which) throws InvalidControl(Code)



rollback
public void rollback() throws NoTransaction(Code)



rollback_only
public void rollback_only() throws NoTransaction(Code)



setCurrentThreadContext
public void setCurrentThreadContext(Control control)(Code)



set_timeout
public void set_timeout(int seconds)(Code)



suspend
public Control suspend()(Code)



Methods inherited from org.omg.CORBA.LocalObject
public Request _create_request(Context ctx, String operation, NVList arg_list, NamedValue result)(Code)(Java Doc)
public Request _create_request(Context ctx, String operation, NVList arg_list, NamedValue result, ExceptionList exceptions, ContextList contexts)(Code)(Java Doc)
public org.omg.CORBA.Object _duplicate()(Code)(Java Doc)
public org.omg.CORBA.Object _get_component()(Code)(Java Doc)
public org.omg.CORBA.DomainManager[] _get_domain_managers()(Code)(Java Doc)
public org.omg.CORBA.InterfaceDef _get_interface()(Code)(Java Doc)
public org.omg.CORBA.Object _get_interface_def()(Code)(Java Doc)
public org.omg.CORBA.Policy _get_policy(int policy_type)(Code)(Java Doc)
public int _hash(int maximum)(Code)(Java Doc)
public String[] _ids()(Code)(Java Doc)
public org.omg.CORBA.portable.InputStream _invoke(org.omg.CORBA.portable.OutputStream output) throws org.omg.CORBA.portable.ApplicationException, org.omg.CORBA.portable.RemarshalException(Code)(Java Doc)
public boolean _is_a(String repositoryId)(Code)(Java Doc)
public boolean _is_equivalent(org.omg.CORBA.Object that)(Code)(Java Doc)
public boolean _is_local()(Code)(Java Doc)
public boolean _non_existent()(Code)(Java Doc)
public org.omg.CORBA.ORB _orb()(Code)(Java Doc)
public void _release()(Code)(Java Doc)
public void _releaseReply(org.omg.CORBA.portable.InputStream input)(Code)(Java Doc)
public Request _request(String operation)(Code)(Java Doc)
public org.omg.CORBA.portable.OutputStream _request(String operation, boolean responseExpected)(Code)(Java Doc)
public void _servant_postinvoke(org.omg.CORBA.portable.ServantObject servant)(Code)(Java Doc)
public org.omg.CORBA.portable.ServantObject _servant_preinvoke(String operation, Class expectedType)(Code)(Java Doc)
public org.omg.CORBA.Object _set_policy_override(org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add)(Code)(Java Doc)
public boolean validate_connection()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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