Vector<RepositoryInfo> ret = new Vector<RepositoryInfo>();
if (app_context != null) {
Configuration conf = (Configuration)app_context.getBean("JZKitConfig");
@SuppressWarnings("unchecked")
Iterator<SearchServiceDescriptionDBO> it = conf.enumerateRepositories();
while (it.hasNext()) {
SearchServiceDescriptionDBO ssd = it.next();
Collection<CollectionDescriptionDBO> col = ssd.getCollections();
if (col.size()>0) {