[jboss-cvs] JBossCache/src-50/org/jboss/cache/pojo/interceptors ...

Ben Wang bwang at jboss.com
Mon Sep 25 22:09:10 EDT 2006


  User: bwang   
  Date: 06/09/25 22:09:10

  Modified:    src-50/org/jboss/cache/pojo/interceptors 
                        PojoFailedTxMockupInterceptor.java
  Log:
  upd
  
  Revision  Changes    Path
  1.4       +4 -4      JBossCache/src-50/org/jboss/cache/pojo/interceptors/PojoFailedTxMockupInterceptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PojoFailedTxMockupInterceptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src-50/org/jboss/cache/pojo/interceptors/PojoFailedTxMockupInterceptor.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- PojoFailedTxMockupInterceptor.java	17 Sep 2006 02:26:03 -0000	1.3
  +++ PojoFailedTxMockupInterceptor.java	26 Sep 2006 02:09:10 -0000	1.4
  @@ -21,7 +21,7 @@
    * has been performed.
    *
    * @author Ben Wang
  - * @version $Id: PojoFailedTxMockupInterceptor.java,v 1.3 2006/09/17 02:26:03 bwang Exp $
  + * @version $Id: PojoFailedTxMockupInterceptor.java,v 1.4 2006/09/26 02:09:10 bwang Exp $
    */
   public class PojoFailedTxMockupInterceptor extends AbstractInterceptor
   {
  @@ -40,15 +40,15 @@
                    "PojoFailedTxMockupInterceptor.invoke(): invocation not MethodInvocation");
         }
         MethodInvocation invocation = (MethodInvocation) in;
  -
  -      Transaction tx = (Transaction)
  -              invocation.getMetaData().getMetaData(PojoTxInterceptor.TAG, PojoTxInterceptor.TX);
         try
         {
            Object obj = null;
            obj = invocation.invokeNext(); // proceed to next advice or actual call
            if(TX_ROLLBACK)
            {
  +            Transaction tx = (Transaction)
  +                    invocation.getMetaData().getMetaData(PojoTxInterceptor.TAG, PojoTxInterceptor.TX);
  +
               Fqn id = (Fqn) invocation.getArguments()[0];
   
               if(!id.isChildOrEquals(InternalConstant.JBOSS_INTERNAL))
  
  
  



More information about the jboss-cvs-commits mailing list