{
includes.add(method.getName());
}
}
// Handle the Filter/Filters annotations.
ManagedList filters = new ManagedList();
Filter filter = beanDefinitionClass.getAnnotation(Filter.class);
if (null != filter) {
processFilter(beanDefinitionRegistry, filter, javascript, filters);
}
Filters filtersAnn = beanDefinitionClass.getAnnotation(Filters.class);
if (filtersAnn != null)
{
Filter[] fs = filtersAnn.value();
for (Filter filterFromFilters : fs)
{
processFilter(beanDefinitionRegistry, filterFromFilters, javascript, filters);
}
}
if (filters.size() > 0) {
creatorConfig.addPropertyValue("filters", filters);
}
// Processing of Filter/Filters complete, continue processing.
creatorConfig.addPropertyValue("includes", includes);
BeanDefinitionHolder aux = new BeanDefinitionHolder(creatorConfig.getBeanDefinition(), creatorConfigName);