final WebComponentDescription componentDescription = new WebComponentDescription(JSP_LISTENER, JSP_LISTENER, module, deploymentUnit.getServiceName());
module.addComponent(componentDescription);
final Map<String, ComponentInstantiator> instantiators = deploymentUnit.getAttachment(WebAttachments.WEB_COMPONENT_INSTANTIATORS);
instantiators.put(JSP_LISTENER, new WebComponentInstantiator(deploymentUnit, componentDescription));
FiltersMetaData filters = webMetaData.getFilters();
if (filters == null) {
filters = new FiltersMetaData();
webMetaData.setFilters(filters);
}
filters.add(CPF);
List<FilterMappingMetaData> filterMappings = webMetaData.getFilterMappings();
if (filterMappings == null) {
filterMappings = new ArrayList<FilterMappingMetaData>();
webMetaData.setFilterMappings(filterMappings);