* Refresh the schema list from the DAO
*/
@Override
public void refresh() {
LOG.info("Refreshing schema list for group: " + groupName);
PassGroupConfigEntity group = groupDao.read(groupName);
if (group == null) {
LOG.error("Failed to load configuration for group: " + groupName);
}
else {
Collection<DbEntity> foundEntities = schemaDao.read(group.getSchemas());
if (foundEntities.isEmpty()) {
LOG.warn("Not virtual schemas associated with group: " + groupName);
}
else {
for (DbEntity entity : foundEntities) {