[jboss-cvs] JBossCache/src-50/org/jboss/cache/pojo/collection ...
Ben Wang
bwang at jboss.com
Wed Aug 2 00:20:30 EDT 2006
User: bwang
Date: 06/08/02 00:20:30
Modified: src-50/org/jboss/cache/pojo/collection CachedMapImpl.java
Log:
Map id also can be Advised.
Revision Changes Path
1.10 +2 -1 JBossCache/src-50/org/jboss/cache/pojo/collection/CachedMapImpl.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CachedMapImpl.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src-50/org/jboss/cache/pojo/collection/CachedMapImpl.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- CachedMapImpl.java 27 Jul 2006 14:25:26 -0000 1.9
+++ CachedMapImpl.java 2 Aug 2006 04:20:30 -0000 1.10
@@ -13,6 +13,7 @@
import org.jboss.cache.pojo.PojoTreeCache;
import org.jboss.cache.pojo.impl.PojoCacheImpl;
import org.jboss.cache.pojo.interceptors.dynamic.AbstractCollectionInterceptor;
+import org.jboss.aop.Advised;
import java.util.AbstractCollection;
import java.util.AbstractSet;
@@ -51,7 +52,7 @@
private static Fqn constructFqn(Fqn baseFqn, Object relative) throws NotSerializableException
{
- if(! (relative instanceof Serializable )) {
+ if(! (relative instanceof Serializable ) && !(relative instanceof Advised)) {
throw new NotSerializableException(relative.getClass().getName());
}
More information about the jboss-cvs-commits
mailing list