* value which is used as the class name of teh adapter
*/
public void addInputAdapter(ResourceDescription adapterDescription) {
if (adapterDescription == null) {
throw new LoggedRuntimeException("Provided input adapter information is null", log);
}
String type = adapterDescription.getType();
if (type == null || "".equals(type.trim())) {
throw new LoggedRuntimeException("Cannot find the adapter type from the given " +
"adapter information " + adapterDescription, log);
}
String className = (String) adapterDescription.getValue();
InputAdaptable resourceAdapter = (InputAdaptable) ClassHelper.createInstance(className);
if (resourceAdapter == null) {
throw new LoggedRuntimeException("Cannot create an adapter instance from the given " +
"adapter information " + adapterDescription, log);
}
adaptersMap.put(type, resourceAdapter);
}