AbstractWebdavServlet and SimpleWebdavServlet changes
-----------------------------------------------------

                 Key: JCR-1262
                 URL: https://issues.apache.org/jira/browse/JCR-1262
             Project: Jackrabbit
          Issue Type: Improvement
          Components: jackrabbit-jcr-server
            Reporter: Felix Meschberger


The AbstractWebdavServlet has been copied from the jcr-server to the webdav 
project. The class at the old location has been marked deprecated. I suggest 
that in addition to marking it deprecated we should have this class extend the 
new AbstractWebdavServlet class from the webdav project but not contain any 
fields and methods. This way, users of the old class will always get the newest 
and best version but can still use the old class.

Additionally, in line with isse JCR-417, I suggest to partially move the 
SimpleWebdavServlet from the jcr-webapp project to the jcr-server project. By 
partially I mean, that the new (moved) servlet will be abstract and the 
getRepository() method will be abstract to. The jcr-webapp project will still 
contain a SimpleWebdavServlet (for backwards compatibility maintaing the same 
name) which just extends the new servlet and implements the getRepository() 
method using the RepositoryAccess servlet.

This second step allows for the reuse of the jcr-server project including the 
abstract SimpleWebdavServlet in other environments. My intention is to include 
this project (along with the webdav) project in Sling.

Will provide patches for this proposal

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to