First, yes, you will need to aspectize your POJO.

Second, the API you want to use is

cache.putObject("/root", myObj);

and
((MyObject)cache.getObject("/root")).set("newvalue")

If you were planning on storing multiple POJOs under root with different 
"uniqueId"s as the key, just add the unique id as another level in the FQN. 

The other API is for plain cache usage only and doesn't use the AOP features.



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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to