[
http://jira.jboss.com/jira/browse/JBCACHE-707?page=comments#action_12340981 ]
Ben Wang commented on JBCACHE-707:
----------------------------------
Here are the efforts to aspectize JDOM. So far the unit tests that I wrote have been
passing.
1. Re-wrote ContentList and AttributeList to use ArrayList internally instead of Java
array. So far, there is some jdom unit tests failed (for filtering). But overall, it looks
good.
2. PojoCache should allow non-public constructor. See JBCACHE-728.
3. Introduce @NonTransient annotataion. This is for Element and ElementFilter where they
declare Namespace as transient. see JBCACHE-732.
4. Namespace class added a private constructor. It can be non-public but still needs to
declare.
5. In jboss-aop.xml, introduces annotation-introduction to introduce @NonTransient
annotation into Element and ElementFilter classes.
6. Have written couple of unit tests for jdom fine-grained replication.
PojoCache to aspectize JDom classes
-----------------------------------
Key: JBCACHE-707
URL:
http://jira.jboss.com/jira/browse/JBCACHE-707
Project: JBoss Cache
Issue Type: Task
Security Level: Public(Everyone can see)
Components: PojoCache
Reporter: Ben Wang
Assigned To: Ben Wang
Fix For: POJOCache
Original Estimate: 2 weeks
Remaining Estimate: 2 weeks
This is suggested by Bela during a customer visit. Idea is the customer is using JDom
internally to store the documents such as mail, fax, email, parcel, and the like. However,
for clustering purpose, each single update on document element would require replication
of the whole document. Not a very efficient process.
If PojoCache can aspectize JDom classes then fine-grained replication can be done
transparently.
--
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