jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra" <tobias.bocane...@day.com>
Subject Re: Jcr-Server Contrib: JSR170 dependency in WebDAV library
Date Fri, 03 Mar 2006 07:31:40 GMT
i totaly agree. i would prefer to remove the getRepositorySession()
completely. returning "an object" is a sign of poor design.

regards, toby

On 3/2/06, Angela Schreiber <anchela@day.com> wrote:
> hi
>
> it has been mentioned in an earlier thread, that the webdav
> library (contrib/jcr-server/webdav) is designed for generic
> usage. nevertheless there are currently the following
> dependencies to jsr170:
>
> 1) DavSession.getRepositorySession() [javax.jcr.Session]
>     -> dependency in return value
> 2) DavResourceLocator.getJcrPath()   [String]
>     -> naming issue
> 3) DavLocatorFactory: javadoc refering to 2)
>     -> javadoc issue
>
> actually, i'd prefer to get rid of those dependencies.
> while 2) and 3) whould only be a matter or renaming,
> 1) could be solved by returning a generic object or
> removing the method altogether.
>
> what is the feeling about such a change?
>
> regards
> angela
>
>
>
>
>


--
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Mime
View raw message