[Yanel-dev] Get all repositories within realm
Cedric Staub
cedric.staub at wyona.com
Wed Jan 5 11:46:15 CET 2011
I just found out that the RepositoryFactory class from Yarep has a
function String[] getRepositoryIDs() that should help.
But: The default repos (data, ac-identities, etc) are always being
generated by a separate repository factory (why?). I don't think it's a
good idea to change this, since it would probably break a lot of code.
Here's my idea:
In the reindexer, I just list the default repositories (statically) and
do the listing (dynamically) only for extra repositories.
What do you think?
Cheers
Cedric
More information about the Yanel-development
mailing list