[jboss-cvs] JBossCache/src/org/jboss/cache/pojo/interceptors/dynamic ...
Jason Thomas Greene
jgreene at jboss.com
Thu Jun 21 13:43:58 EDT 2007
User: jgreene
Date: 07/06/21 13:43:58
Modified: src/org/jboss/cache/pojo/interceptors/dynamic
CacheFieldInterceptor.java
Log:
Fix JBCACHE-1110
Intial patch from vincent.marquez at gmail.com
Revision Changes Path
1.6 +7 -2 JBossCache/src/org/jboss/cache/pojo/interceptors/dynamic/CacheFieldInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheFieldInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/pojo/interceptors/dynamic/CacheFieldInterceptor.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- CacheFieldInterceptor.java 21 Jun 2007 01:33:03 -0000 1.5
+++ CacheFieldInterceptor.java 21 Jun 2007 17:43:58 -0000 1.6
@@ -154,12 +154,17 @@
if (result == null)
verifyAttached(invocation.getTargetObject());
+ // Update last known state associated with this pojo.
+ util_.inMemorySubstitution(invocation.getTargetObject(), field, result);
+
+ // Allow interceptor chain to process, but ignore the result
+ invocation.invokeNext();
+
return result;
}
}
return invocation.invokeNext();
-
}
/**
More information about the jboss-cvs-commits
mailing list