ProcessorFactory factory = (ProcessorFactory) constructor .newInstance(conf); boolean status = factory.register(processor); if(!status) { LOGGER.error("Failed to register " + clazz.getCanonicalName());
ProcessorFactory factory = (ProcessorFactory) constructor .newInstance(conf); boolean registerStatus = factory.register(processor, sentryStore); if (!registerStatus) { LOGGER.error("Failed to register " + clazz.getCanonicalName());