if (i instanceof ResultsPostProcessor) {
// If it implements the right interface initialize
// and
// register it
ResultsPostProcessor pp = (ResultsPostProcessor) i;
pp.initialize(initProps);
conn.addPostProcessor(pp);
LOGGER.info("Initialized post-processor " + ppClassName + " successfully");
} else {
// Otherwise throw an error