[jboss-user] [JBossCache] - Re: how to get sub fqn list by specifying the parent fqn?

sting_hz do-not-reply at jboss.com
Wed Sep 27 21:37:48 EDT 2006


Hi Brian, 
Thanks for the quick reply.
Another question is how to get the recursive sub fqn list.

For example, I have
cache.putObject(Fqn.fromString("/a"),null);
cache.putObject(Fqn.fromString("/a/b/c"),null);
cache.putObject(Fqn.fromString("/a/c"),null);

Set set =  cache.getChildrenNames(Fqn.fromString("/a"));

Currently the set only contains the direct sub fqn list: [b,c]

How to get the recusive sub fqn list like [b/c, c]


Thanks, 

Steven 



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

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



More information about the jboss-user mailing list