AnnotationProcessor ap = SipHandlerFactory.getAnnotationProcessor();
ProcessingContext ctx = ap.createContext();
ctx.setProcessingInput(scanner);
ctx.pushHandler(aeHandler);
ap.process(ctx);
// Check if there are Servlets or Listeners. XXX: Should the check for Servlets alone be not
// enough?
if ((!dummySbd.getSipApplication().getAnnotatedServlets().isEmpty()) ||
(!dummySbd.getSipApplication().getAnnotatedListeners().isEmpty())){