[ 
http://issues.apache.org/jira/browse/JCR-388?page=comments#action_12416742 ] 

angela commented on JCR-388:
----------------------------

regarding your questions:

a) the factory should take care of building the proper resource instances.
     thus: version, versionhistory specific object if the request points to such
    a resource.

b) instead of 'addHrefProperty' i would create a method that simply builds
     such an HrefProperty. adding it to the property-set would be left to
     the caller.

c) you have an error in the code while building the href.
    you only copied the code from the jcr-server without understanding that the
    simple server works differently.
    in jcr-server a jcr-node represents a webdav collection, which does not 
apply
    to the simple server.

d) the factory is an interface that returns 'DavResource' upon a call to the 
create
    methods. since its an interface one could replace it by a different   
    implementation.

hope that helps.

> add support for RFC 3253 to the simple server
> ---------------------------------------------
>
>          Key: JCR-388
>          URL: http://issues.apache.org/jira/browse/JCR-388
>      Project: Jackrabbit
>         Type: New Feature

>   Components: webdav
>     Versions: 0.9
>     Reporter: jeremi Joslin
>     Assignee: angela
>     Priority: Minor
>  Attachments: Review.txt, patch_rfc3253.zip, rfc.zip
>
> http://www.ietf.org/rfc/rfc3253.txt

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to