_params = params;
}
@Override
public void prepare(final Map conf, final Object registrationArgument, final TopologyContext context, final IErrorReporter errorReporter) {
IFn hof = Utils.loadClojureFn(_fnSpec.get(0), _fnSpec.get(1));
try {
IFn preparer = (IFn) hof.applyTo(RT.seq(_params));
List<Object> args = new ArrayList<Object>() {{
add(conf);
add(registrationArgument);
add(context);
add(errorReporter);
}};
_fn = (IMetricsConsumer) preparer.applyTo(RT.seq(args));
try {
_fn.prepare(conf, registrationArgument, context, errorReporter);
} catch (AbstractMethodError ame) {