throw new ConfigException("Unknown filter name in '" + config.toInlineString() + "'");
}
} else {
clazz = context.getClassLoader().loadClass(config.getClassName());
}
Filter filter = (Filter)clazz.newInstance();
filter.init(config, context);
return new FilteredCommand(config, filter, chain(configs, last));
} else {
return last;
}
}