for (CacheContainerRegistryConfigurationEntry entry: registry.getEntries())
{
this.add(entry);
}
CacheContainerRegistryConfigurationEntry defaultEntry = registry.getDefaultEntry();
if (defaultEntry == null)
{
defaultEntry = registry.getEntries().get(0);
}
this.defaultContainer = this.containers.get(defaultEntry.getId()).getContainer();
singleton.compareAndSet(null, this);
}