_webApp.addServletMapping(mapping);
event.veto();
}
else if (annType.isAnnotationPresent(ServiceType.class)) {
ServiceType serviceType
= (ServiceType) annType.getAnnotation(ServiceType.class);
Class<?> factoryClass = serviceType.defaultFactory();
ProtocolServletFactory factory
= (ProtocolServletFactory) factoryClass.newInstance();
factory.setServiceType(ann);
factory.setAnnotated(annotated);