I have registered a TreeCacheListener on my aopcache:

In method cacheStarted(TreeCache arg0)
i call: myCache.putObject("/foo/bar", "42")

And in the same listener in method nodeCreated(Fqn arg0)
i call : 
if (arg0.equals(Fqn.fromString("/foo/bar"))
{
  System.err.println("find bis: "+myCache.getObject(arg0));
  // and the result here is null ?
}

All is int the same process with the same instance of TreeCacheAop.
The result is null, is it normal ?

it shoud be fine if the nofication process for nodeCreated/visited could have a 
second argument : the value of the node.

Thx
Christophe


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

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


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to