Java Doc for ATSubCoordinator.java in  » 6.0-JDK-Modules-com.sun » wsit » com » sun » xml » ws » tx » at » 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 » 6.0 JDK Modules com.sun » wsit » com.sun.xml.ws.tx.at 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.xml.ws.tx.at.ATCoordinator
   com.sun.xml.ws.tx.at.ATSubCoordinator

ATSubCoordinator
public class ATSubCoordinator extends ATCoordinator (Code)

author:
   jf39279

Inner Class :public class VolatileParticipant implements Participant
Inner Class :public class DurableParticipant implements Participant

Field Summary
final  TransactionImportimportTm
    

Constructor Summary
public  ATSubCoordinator(CoordinationContextInterface context, CreateCoordinationContextType request)
    
public  ATSubCoordinator(CoordinationContextInterface context)
    

Method Summary
public  voidaddRegistrant(Registrant registrant, WebServiceContext wsContext)
    
public  voidafterCompletion(int i)
    
public  voidbeforeCompletion()
     Subordinate Coordinator does not use this mechanism.
public  voidbeginImportTransaction()
     Import a transactional context from an external transaction manager via WS-AT Coordination Context that was propagated in a SOAP request message.
public  voidcommit(Xid xid, boolean onePhase)
    
public  voidendImportTransaction()
     Ends the importing of an external transaction.
public  booleanexpirationGuard()
    
public  voidforget(String partId)
    
public  voidforget()
    
public  XidgetCoordinationXid()
    
public  RegistrantgetRegistrant(String id)
     Get the registrant with the specified id or null if it does not exist.
public  booleanhasOutstandingParticipants()
    
public  booleanisSubordinateCoordinator()
    
public  intprepare(Xid xid)
     Synchronous prepare request from subordinate coordinator.
protected  booleanregisterWithDurableParent()
    
public  booleanregisterWithRootRegistrationService(Registrant participant)
     Represent all volatile and durable participants for this subordinate coordinator through two special participants of SubordinateCoordinator.
protected  voidregisterWithVolatileParent()
    
public  voidremoveRegistrant(String id)
    
public  voidrollback(Xid xid)
    
public  voidsetTransaction(Transaction txn)
    

Field Detail
importTm
final TransactionImport importTm(Code)




Constructor Detail
ATSubCoordinator
public ATSubCoordinator(CoordinationContextInterface context, CreateCoordinationContextType request)(Code)
Creates a new instance of ATSubCoordinator



ATSubCoordinator
public ATSubCoordinator(CoordinationContextInterface context)(Code)




Method Detail
addRegistrant
public void addRegistrant(Registrant registrant, WebServiceContext wsContext)(Code)



afterCompletion
public void afterCompletion(int i)(Code)



beforeCompletion
public void beforeCompletion()(Code)
Subordinate Coordinator does not use this mechanism. Ensure it is not called.



beginImportTransaction
public void beginImportTransaction()(Code)
Import a transactional context from an external transaction manager via WS-AT Coordination Context that was propagated in a SOAP request message.
See Also:   ATSubCoordinator.endImportTransaction()



commit
public void commit(Xid xid, boolean onePhase) throws XAException(Code)



endImportTransaction
public void endImportTransaction()(Code)
Ends the importing of an external transaction.

Post-condition: terminates beginImportTransaction.
See Also:   ATSubCoordinator.beginImportTransaction()




expirationGuard
public boolean expirationGuard()(Code)



forget
public void forget(String partId)(Code)



forget
public void forget()(Code)



getCoordinationXid
public Xid getCoordinationXid()(Code)



getRegistrant
public Registrant getRegistrant(String id)(Code)
Get the registrant with the specified id or null if it does not exist.
Parameters:
  id - the registrant id the Registrant object or null if the id does not exist



hasOutstandingParticipants
public boolean hasOutstandingParticipants()(Code)



isSubordinateCoordinator
public boolean isSubordinateCoordinator()(Code)



prepare
public int prepare(Xid xid) throws XAException(Code)
Synchronous prepare request from subordinate coordinator.

Prepare this coordinator and return result of preparation.




registerWithDurableParent
protected boolean registerWithDurableParent()(Code)



registerWithRootRegistrationService
public boolean registerWithRootRegistrationService(Registrant participant)(Code)
Represent all volatile and durable participants for this subordinate coordinator through two special participants of SubordinateCoordinator. They are the only participants that parent coordinator is aware of.



registerWithVolatileParent
protected void registerWithVolatileParent()(Code)



removeRegistrant
public void removeRegistrant(String id)(Code)



rollback
public void rollback(Xid xid) throws XAException(Code)



setTransaction
public void setTransaction(Transaction txn)(Code)



Fields inherited from com.sun.xml.ws.tx.at.ATCoordinator
final public static URI localCoordinationProtocolServiceURI(Code)(Java Doc)
final public static EndpointReference localCoordinatorProtocolService(Code)(Java Doc)
final protected static TransactionManagerImpl tm(Code)(Java Doc)
protected Transaction transaction(Code)(Java Doc)

Methods inherited from com.sun.xml.ws.tx.at.ATCoordinator
public void aborted(String participantId)(Code)(Java Doc)
public void addRegistrant(Registrant registrant, WebServiceContext wsContext)(Code)(Java Doc)
public void afterCompletion(int i)(Code)(Java Doc)
public void beforeCompletion()(Code)(Java Doc)
public void commit(Xid xid, boolean onePhase) throws XAException(Code)(Java Doc)
public void committed(String participantId)(Code)(Java Doc)
public void end(Xid xid, int flags) throws XAException(Code)(Java Doc)
public boolean expirationGuard()(Code)(Java Doc)
public void expire()(Code)(Java Doc)
public void forget(Xid xid) throws XAException(Code)(Java Doc)
public void forget(ATParticipant part)(Code)(Java Doc)
public void forget(String partId)(Code)(Java Doc)
public void forget()(Code)(Java Doc)
public ATCompletion getCompletionRegistrant()(Code)(Java Doc)
protected String getCoordIdPartId(Registrant registrant)(Code)(Java Doc)
protected String getCoordIdPartId(String participantId)(Code)(Java Doc)
public EndpointReference getCoordinatorProtocolServiceForRegistrant(Registrant r)(Code)(Java Doc)
public Collection<ATParticipant> getDurableParticipants()(Code)(Java Doc)
public Collection<ATParticipant> getDurableParticipantsSnapshot()(Code)(Java Doc)
public EndpointReference getParentCoordinatorRegistrationEPR()(Code)(Java Doc)
public Registrant getRegistrant(String id)(Code)(Java Doc)
public List<Registrant> getRegistrants()(Code)(Java Doc)
public Transaction getTransaction()(Code)(Java Doc)
public int getTransactionTimeout() throws XAException(Code)(Java Doc)
public Collection<ATParticipant> getVolatileParticipants()(Code)(Java Doc)
public Collection<ATParticipant> getVolatileParticipantsSnapshot()(Code)(Java Doc)
public static WSATCoordinator getWSATCoordinatorService()(Code)(Java Doc)
public boolean hasOutstandingParticipants()(Code)(Java Doc)
public void initiateCommit()(Code)(Java Doc)
public void initiateDurableCommit()(Code)(Java Doc)
public void initiateDurablePrepare()(Code)(Java Doc)
public void initiateDurableRollback()(Code)(Java Doc)
public void initiateRollback()(Code)(Java Doc)
public void initiateVolatileCommit()(Code)(Java Doc)
public void initiateVolatilePrepare()(Code)(Java Doc)
public void initiateVolatileRollback()(Code)(Java Doc)
boolean isAborting()(Code)(Java Doc)
public boolean isSameRM(XAResource xAResource) throws XAException(Code)(Java Doc)
public boolean isSubordinateCoordinator()(Code)(Java Doc)
public int prepare(Xid xid) throws XAException(Code)(Java Doc)
public void prepared(String participantId)(Code)(Java Doc)
public void prepared(String participantId, EndpointReference unknownParticipantReplyEPR)(Code)(Java Doc)
public void readonly(String participantId)(Code)(Java Doc)
public Xid[] recover(int i) throws XAException(Code)(Java Doc)
protected boolean registerWithDurableParent() throws RollbackException, SystemException(Code)(Java Doc)
protected void registerWithVolatileParent()(Code)(Java Doc)
public void removeRegistrant(String id)(Code)(Java Doc)
public void replay(String participantId)(Code)(Java Doc)
public void resumeTransaction() throws WebServiceException(Code)(Java Doc)
public void rollback(Xid xid) throws XAException(Code)(Java Doc)
void setAborting()(Code)(Java Doc)
public void setTransaction(Transaction txn)(Code)(Java Doc)
public boolean setTransactionTimeout(int i) throws XAException(Code)(Java Doc)
public void start(Xid xid, int flags) throws XAException(Code)(Java Doc)
public Transaction suspendTransaction()(Code)(Java Doc)
protected void waitForCommitOrRollbackResponse(Protocol protocol)(Code)(Java Doc)
protected void waitForDurablePrepareResponse()(Code)(Java Doc)
protected void waitForVolatilePrepareResponse()(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.