}
@Override
public void accept(IRepositoryVisitor visitor, int options)
{
IOSGiInstall install = SigilCore.getInstallManager().getDefaultInstall();
if (install != null)
{
List<ISigilBundle> found = null;
synchronized (this)
{
found = bundles == null ? null : bundles.get(install.getId());
}
if (found == null)
{
found = new ArrayList<ISigilBundle>();
IPath source = install.getType().getSourceLocation();
for (IPath p : install.getType().getDefaultBundleLocations())
{
loadBundle(p, found, source);
}
synchronized (this)
{
bundles = new HashMap<String, List<ISigilBundle>>();
bundles.put(install.getId(), found);
}
}
for (ISigilBundle b : found)
{