groups = groupsList.toArray(new ChannelGroupIF[0]);
// At this step we load all internal collections (channels and items in channels) as
// we will be detached from the session in the client application.
for (int i = 0; i < groups.length; i++) {
ChannelGroupIF group = groups[i];
initGroupCollections(group);
}
} catch (Exception e) {
LOG.log(Level.SEVERE, "Could not read the list of groups.", e);
throw new PersistenceManagerException("Could not read the list of groups.", e);