What is the afterCompletion(boolean isCommitted) method?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

What is the afterCompletion(boolean isCommitted) method?

Rating:

The afterCompletion(boolean isCommitted) method of the SessionSynchronization interface is called after a transaction is committed or rolled back. Any operation that should be performed after the completion of the transaction can be performed in this method, as the status of the method, i.e., committed or rolled back, is known. This method cannot be used to perform any transaction-related methods such as getting the status of the transaction, finding out whether the transaction is marked for a roll back, etc. Moreover, this method cannot be used to access resource managers or other beans. However, the JNDI context can still be accessed from this method.


Rating:



Other articles

Click here to Article home

 
uCertify.com | Our Company | Articles | Privacy | Security | Contact Us | News and Press Release | uCertify India
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW foundation    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.