[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-975) PojoCache Collection proxy is not serializable

Jason T. Greene (JIRA) jira-events at lists.jboss.org
Mon Apr 2 20:03:16 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBCACHE-975?page=all ]

Jason T. Greene updated JBCACHE-975:
------------------------------------

    Assignee: Jason T. Greene  (was: Ben Wang)

> 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: Jason T. Greene
>             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