[jboss-jira] [JBoss JIRA] Created: (JBCACHE-975) PojoCache Collection proxy is not serializable
Ben Wang (JIRA)
jira-events at lists.jboss.org
Mon Feb 12 05:51:30 EST 2007
PojoCache Collection proxy is not serializable
----------------------------------------------
Key: JBCACHE-975
URL: http://jira.jboss.com/jira/browse/JBCACHE-975
Project: JBoss Cache
Issue Type: Task
Security Level: Public (Everyone can see)
Components: PojoCache
Reporter: Ben Wang
Assigned To: Ben Wang
Fix For: PojoCache
Current PojoCache2.0 uses JBossAop that introduces new dependency on other JBoss system classes. As a result, the CachedListInterceptor (of which belongs to AopProxy) is not serializalbe even by JBoss Serialization. Of course, a straightforward use of serialization with Java one would fail previously. So now, in order to replicate the list in plain Cache, a user will need to perform detach first, e.g.,
list = pcache.detach("pojo");
cache.put("key", list);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list