[jboss-cvs] JBossCache/src-50/org/jboss/cache/pojo/impl ...
Ben Wang
bwang at jboss.com
Sun Sep 17 01:42:46 EDT 2006
User: bwang
Date: 06/09/17 01:42:46
Modified: src-50/org/jboss/cache/pojo/impl AdvisedPojoHandler.java
Log:
Refactored for name change
Revision Changes Path
1.11 +3 -6 JBossCache/src-50/org/jboss/cache/pojo/impl/AdvisedPojoHandler.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AdvisedPojoHandler.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src-50/org/jboss/cache/pojo/impl/AdvisedPojoHandler.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- AdvisedPojoHandler.java 5 Sep 2006 06:11:25 -0000 1.10
+++ AdvisedPojoHandler.java 17 Sep 2006 05:42:46 -0000 1.11
@@ -19,7 +19,6 @@
import org.jboss.cache.Fqn;
import org.jboss.cache.CacheException;
import org.jboss.cache.CacheSPI;
-import org.jboss.cache.config.Option;
import org.jboss.aop.InstanceAdvisor;
import org.jboss.aop.Advised;
import org.jboss.aop.ClassInstanceAdvisor;
@@ -37,14 +36,13 @@
*
* @author Ben Wang
* Date: Aug 4, 2005
- * @version $Id: AdvisedPojoHandler.java,v 1.10 2006/09/05 06:11:25 bwang Exp $
+ * @version $Id: AdvisedPojoHandler.java,v 1.11 2006/09/17 05:42:46 bwang Exp $
*/
class AdvisedPojoHandler
{
private final Log log = LogFactory.getLog(AdvisedPojoHandler.class);
private CacheSPI cache_;
private PojoCacheImpl pCache_;
- private InternalHelper internal_;
private PojoUtil util_;
private Observer observer_;
@@ -53,7 +51,6 @@
{
pCache_ = pCache;
cache_ = (CacheSPI)pCache_.getCache();
- internal_ = internal;
util_ = util;
observer_ = observer;
}
@@ -168,7 +165,7 @@
if (value instanceof Map || value instanceof List || value instanceof Set)
{
Object newValue = pCache_.getObject(tmpFqn);
- util_.fieldReplaceNewValue(obj, field, newValue);
+ util_.inMemorySubstitution(obj, field, newValue);
}
}
@@ -197,7 +194,7 @@
if ((value instanceof Map || value instanceof List || value instanceof Set))
{
// If this Collection class, we are returning the original value already
- util_.fieldReplaceNewValue(result, field, value);
+ util_.inMemorySubstitution(result, field, value);
}
}
More information about the jboss-cvs-commits
mailing list