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

bstansberry@jboss.com do-not-reply at jboss.com
Wed Sep 27 11:51:27 EDT 2006


Don't construct an Fqn via the constructor.  Do it like this:


  | cache.putObject(Fqn.fromString("/a"),null);
  | cache.putObject(Fqn.fromString("/a/b"),null);
  | cache.putObject(Fqn.fromString("/a/c"),null);
  | 

Note the presence of the leading '/'.

The Fqn.fromString() method knows how to parse the string using the '/' separator.  The Fqn constructor just assumes whatever object is passed to it is the name.

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

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



More information about the jboss-user mailing list