nthx wrote:

> Ok. I got this SharedStoreCacheLoader, but I have little problems with using 
> it. It has strange constructor, so it cannot be plugged directly by using XML 
> conf file.



Currently to be used only programmatically. The javadocs explains a bit more. 
This is experimental yet.

> Correct me if my assumptions are wrong:
> -I want to have shared DB

yes

> -want to use lazy loading (my custom implementation) from DB


yes


> -aop tree is empty
> -tree.getObject("/customers/first");
> -after that, the tree has one element, loaded with my custom: Map get(Fqn 
> fqn) method
> -I _thought_ from now on, in case every _other_ node wants "/customers/first" 
> it will be given by cache


that is correct

> -but: from other nodes method: Map get(Fqn) is still executed. So, basically: 
> there is no cache ? :/


should not be the case, I verified this with FileCacheLoader


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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to