String requiredKeysString;
requiredKeysString = sc.getInitParameter("required.metaprop.keys");
if (requiredKeysString != null) {
final Set<String> requiredKeys = new HashSet<String>(
Arrays.asList(requiredKeysString.split("\\s*,\\s*", -1)));
requiredKeys.removeAll(metaProperties.keySet());
if (requiredKeys.size() > 0) {
log.fatal("Meta properties file '" + metaFile.getAbsolutePath()
+ "' missing required property(s): " + requiredKeys);
throw new IllegalStateException("Meta properties file '"
+ metaFile.getAbsolutePath()