public ConfigMetaDataResult metaData(ConfigMetaDataRequest request) {
ArgumentChecker.notNull(request, "request");
Timer.Context context = _metaDataTimer.time();
try {
ConfigMetaDataResult result = new ConfigMetaDataResult();
if (request.isConfigTypes()) {
final String sql = getElSqlBundle().getSql("SelectTypes");
List<String> configTypes = getJdbcTemplate().getJdbcOperations().queryForList(sql, String.class);
for (String configType : configTypes) {
try {
result.getConfigTypes().add(ClassUtils.loadClass(configType));
} catch (ClassNotFoundException ex) {
s_logger.warn("Unable to load class", ex);
}
}
}