ILibraryFinder[] finders = ServerManager.getServerManager().getLibraryManager().getLibraryFinders();
IStorage baseFile = this.userDirectory.newInstance(this.userDirectory, base);
Vector<ILibInfo> allLibs = new Vector();
for(int i=0;i<finders.length;i++){
ILibraryFinder finder = finders[i].getInstance(baseFile.toURI(), baseFile.getName());
ILibInfo[] libs = finder.getLibInfo();
allLibs.addAll(Arrays.asList(libs));
}
return (ILibInfo[]) allLibs.toArray(new ILibInfo[allLibs.size()]);
}