Interesting. I would have expected the API to throw a warning or error in this 
case as I can actually put things in the cache and remove them from the cache 
without issue.

Right now all I want to do is put things in it and get the list of things that 
are in it. I wasn't expecting to have to either annotate or specify things in 
the XML file since the object is introspectable and serializable. But if that's 
how it works, I'll give it a shot and see if I get keys back.

The expected behavior would have been that if it couldn't get the keys back due 
to API use, it shouldn't have inserted the object in the cache at all. No point 
having everything else work except getKeys(). Somewhat counter-intuitive.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885063#3885063

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885063


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to