jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl ...@apache.org>
Subject Re: handling events
Date Tue, 04 Mar 2008 18:07:30 GMT
Zohar wrote:
> CacheElement obj = (CacheElement) ((EventObject)event).getSource();
> but it seems a bit ugly - doesn't it...?

Yep, but this is how it's done. Please note that the expiry event types 
that are supposed to be fired on access will not be generated in 1.3. 
See https://issues.apache.org/jira/browse/JCS-33 for the story. You'll 
need to roll your own from the code in SVN.

Bye, Thomas.

To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org

View raw message