[
http://jira.jboss.com/jira/browse/JBCACHE-619?page=comments#action_12346490 ]
Ben Wang commented on JBCACHE-619:
----------------------------------
Two issues need to be resolved:
1. java.lang.Enum, of which is an abstract class, has two final fields: name and ordinal.
The name field will need to be replicated by any sub-class in PojoCache. In addition, it
hasn't had a no-arg constructor. So during failover, we will need to contruct the Enum
instance from: Enum.valueOf(class, name). As a result, name is needed for replication.
2. In order to replicate name field, we will need to add a flag to allow that. This can be
done via aop interceptor stack. See JBCACHE-839.
PojoCache to support JDK5.0 Enum
--------------------------------
Key: JBCACHE-619
URL:
http://jira.jboss.com/jira/browse/JBCACHE-619
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: PojoCache
Reporter: Ben Wang
Assigned To: Ben Wang
Fix For: 2.0.0.GA
Original Estimate: 4 days
Remaining Estimate: 4 days
In JDK5.0, Enum is Serializabe. We need to look into whether it is possible to intercept
Enum operation as well.
--
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