User: azakkerman Date: 02/02/03 14:59:11 Modified: src/main/org/jboss/ejb EnterpriseContext.java Log: Fixed some typos in the comment and made it a little more readable, I hope :) Revision Changes Path 1.43 +7 -7 jboss/src/main/org/jboss/ejb/EnterpriseContext.java Index: EnterpriseContext.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/EnterpriseContext.java,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- EnterpriseContext.java 2002/02/03 22:55:53 1.42 +++ EnterpriseContext.java 2002/02/03 22:59:11 1.43 @@ -47,7 +47,7 @@ * @author <a href="mailto:[EMAIL PROTECTED]">Sebastien Alborini</a> * @author <a href="mailto:[EMAIL PROTECTED]">Juha Lindfors</a> * @author <a href="mailto:[EMAIL PROTECTED]">Ole Husgaard</a> - * @version $Revision: 1.42 $ + * @version $Revision: 1.43 $ * * Revisions: * 2001/06/29: marcf @@ -439,9 +439,9 @@ } finally { // According to the spec, after commit and rollback was called on // UserTransaction, the thread is associated with no transaction. - // Since the BMT Tx interceptor will associate the thread from the context - // with the thread that comes in on an invocation, we must set the - // context transaction to null + // Since the BMT Tx interceptor will associate and resume the tx + // from the context with the thread that comes in + // on a subsequent invocation, we must set the context transaction to null setTransaction(null); } } @@ -454,9 +454,9 @@ } finally { // According to the spec, after commit and rollback was called on // UserTransaction, the thread is associated with no transaction. - // Since the BMT Tx interceptor will associate the thread from the context - // with the thread that comes in on an invocation, we must set the - // context transaction to null + // Since the BMT Tx interceptor will associate and resume the tx + // from the context with the thread that comes in + // on a subsequent invocation, we must set the context transaction to null setTransaction(null); } }
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development