String daoType = configuration.getString(propertyName);
Preconditions.checkNotNull(daoType, "No DaoType specified for " + schemaName + " (" + propertyName + ")");
DaoSchemaProvider provider = schemaTypes.get(daoType);
if (provider == null) {
LOG.warn("Unable to find DaoManager for schema " + schemaName + "(" + daoType + ")");
throw new NotFoundException(DaoSchemaProvider.class, daoType);
}
schema = provider.getSchema(schemaName);
schemas.put(schemaName, schema);
LOG.info("Created DaoSchema for " + schemaName);
}