@SuppressWarnings("rawtypes")
Class recorderClass = loadClientClass("simianarmy.client.recorder.class");
if (recorderClass == null || recorderClass.equals(SimpleDBRecorder.class)) {
String domain = config.getStrOrElse("simianarmy.recorder.sdb.domain", "SIMIAN_ARMY");
if (client != null) {
SimpleDBRecorder simpleDbRecorder = new SimpleDBRecorder(client, domain);
simpleDbRecorder.init();
setRecorder(simpleDbRecorder);
}
} else {
setRecorder((MonkeyRecorder) factory(recorderClass));
}