if (history.contains(classToRead)) {
throw new IllegalStateException("Circular reference detected: " + history);
}
history.add(classToRead);
// check the manual mappings ...
ManualMappingDefinition manualDefinition =
this.classToHandlerMapping.getManualMappingDefinition(classToRead);
if (manualDefinition == null) {
manualDefinition = genericFactory.getManualMappingDefinition(classToRead);
}
if (manualDefinition != null) {
// Log.debug ("Locating handler for " + manualDefinition.getBaseClass());
return loadHandlerClass(manualDefinition.getReadHandler());
}
// check whether a multiplexer is defined ...
// find multiplexer for this class...
MultiplexMappingDefinition mplex =