[JBoss-user] [JBossCache] - Re: TreeCacheAop not persisting results to all cache referen
Thanks for the info... could you point me to some documentation or tutorials on how to aspectize my POJO? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3900902#3900902 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3900902 --- 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
[JBoss-user] [JBossCache] - Re: TreeCacheAop not persisting results to all cache referen
It is also referred to as instrumentation. http://docs.jboss.com/jbcache/1.2.4beta/TreeCacheAop/html/instrumentation.html Note that TreeCacheAop does not support jdk5 annotations as of yet (that I am aware of) so you have to use an annotation precompiler. Example: 1. add a marker to the class: /** * @@org.jboss.cache.aop.AopMarker */ public class Address {...} 2. use the annotation precompiler aopc (see example in JbossCache ant build file target )against the marked class. (Make sure the jboss-aop.xml file is in the classpath). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3900968#3900968 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3900968 --- 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
[JBoss-user] [JBossCache] - Re: TreeCacheAop not persisting results to all cache referen
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 uniqueIds 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=bbop=viewtopicp=3900747#3900747 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=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