// ---------- SCR integration
protected void activate(ComponentContext context)
throws NamespaceException, ServletException {
resourceConfig = new SlingResourceConfig(mimeTypeService,
context.getProperties());
// Register servlet, and set the contextPath field to signal successful
// registration
Servlet simpleServlet = new SlingSimpleWebDavServlet(resourceConfig,