[
http://jira.jboss.com/jira/browse/JBCACHE-85?page=all ]
Ben Wang updated JBCACHE-85:
----------------------------
Fix Version/s: 2.0.0
(was: POJOCache)
PojoCache object event listener
-------------------------------
Key: JBCACHE-85
URL:
http://jira.jboss.com/jira/browse/JBCACHE-85
Project: JBoss Cache
Issue Type: Feature Request
Components: PojoCache
Reporter: Ben Wang
Assigned To: Ben Wang
Fix For: 2.0.0
Original Estimate: 2 weeks
Remaining Estimate: 2 weeks
Need to add a TreeCacheAop object event listener. Currently we have TreeCache listener to
listen for individual node event. We need to listen the event at the object level instead.
User may not be interested to listen at the node level.
We should have events for:
* Object level
* Field level
1. We will need to define a PojoCacheListener that has all these callbacks.
2. We should use annotation for user to denote interested points, e.g., a la EJB3 style
call back
Class Pojo
{
int key;
@preCreated(pojoEvent)
@preModified(pojoEvent)
void someHandler();
}
where
Interface preModified {
getPojoEvent();
}
--
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