}
filter = (Filter) BeanUtils.instantiateClass(filterClass);
Map<String, String> emptyMap = Collections.emptyMap();
Map<String,String> parameterMap = (initParameters != null ? initParameters : emptyMap);
IntegrationFilterConfig config = newFilterConfig(parameterMap);
if (filter instanceof ApplicationContextAware) {
ApplicationContextAware awa = (ApplicationContextAware) filter;
awa.setApplicationContext(applicationContext);
}