protected void activate()

in src/main/java/org/apache/sling/junit/impl/servlet/JUnitServlet.java [68:77]


    protected void activate(final ComponentContext ctx) throws ServletException, NamespaceException {
        servletPath = getServletPath(ctx);
        if(servletPath == null) {
            log.info("Servlet path is null, not registering with HttpService");
        } else {
            httpService.registerServlet(servletPath, this, null, null);
            this.processor = new ServletProcessor(testsManager, rendererSelector);
            log.info("Servlet registered at {}", servletPath);
        }
    }