[Yanel-dev] Get all repositories within realm
Michael Wechner
michael.wechner at wyona.com
Wed Jan 5 13:12:46 CET 2011
On 1/5/11 11:46 AM, Cedric Staub wrote:
> I just found out that the RepositoryFactory class from Yarep has a
> function String[] getRepositoryIDs() that should help.
yes, this could be used within the realm implementation or some utility
class
> But: The default repos (data, ac-identities, etc) are always being
> generated by a separate repository factory (why?).
I need to check that myself, but I could imagine this could be
changed/improved
> 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?
makes sense.
Thanks
Michael
> Cheers
> Cedric
More information about the Yanel-development
mailing list