[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-750) PojoCache to deal with POJO without no-arg constructor

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


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

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

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

> PojoCache to deal with POJO without no-arg constructor
> ------------------------------------------------------
>
>                 Key: JBCACHE-750
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-750
>             Project: JBoss Cache
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: PojoCache
>            Reporter: Ben Wang
>         Assigned To: Jason T. Greene
>            Priority: Critical
>             Fix For: PojoCache 2.1.0
>
>   Original Estimate: 2 weeks
>  Remaining Estimate: 2 weeks
>
> This came up from a forum post that uses SynchronizedCollection. Here is the problem that Professor Chiba pointed out:
> ------
> Ben,
> SynchronizedRandomAccessList class has only the following constructors:
> static class SynchronizedRandomAccessList<E>
>          extends SynchronizedList<E>
>          implements RandomAccess {
>          SynchronizedRandomAccessList(List<E> list) {
>              super(list);
>          }
>          SynchronizedRandomAccessList(List<E> list, Object mutex) {
>              super(list, mutex);
>          }
>                 :
> }
> I can modify Javassist so that the above constructors (visible only within the pacakge) will be copied to the generated class.  But I am not sure that PojoCache can work with that generated class since it does not have a no-arg constructor.
> Chiba
> --------
> No easy solution to this problem now. Maybe use the exisiting serialization for once during replication?

-- 
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