Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 14559 invoked from network); 17 Sep 2009 22:54:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Sep 2009 22:54:23 -0000 Received: (qmail 9164 invoked by uid 500); 17 Sep 2009 22:54:22 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 9077 invoked by uid 500); 17 Sep 2009 22:54:22 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 8875 invoked by uid 99); 17 Sep 2009 22:54:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 22:54:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 22:54:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 891B3234C1EE for ; Thu, 17 Sep 2009 15:53:57 -0700 (PDT) Message-ID: <771100965.1253228037560.JavaMail.jira@brutus> Date: Thu, 17 Sep 2009 15:53:57 -0700 (PDT) From: =?utf-8?Q?Michael_D=C3=BCrig_=28JIRA=29?= To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-2042) RepositoryFactory implementation for jcr2spi In-Reply-To: <378226727.1237988452185.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2042?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Michael D=C3=BCrig updated JCR-2042: ------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) Fixed in revision: 816402 > RepositoryFactory implementation for jcr2spi > -------------------------------------------- > > Key: JCR-2042 > URL: https://issues.apache.org/jira/browse/JCR-2042 > Project: Jackrabbit Content Repository > Issue Type: New Feature > Components: jackrabbit-jcr2spi, jackrabbit-spi > Affects Versions: 2.0.0 > Reporter: Marcel Reutegger > Assignee: Michael D=C3=BCrig > Priority: Minor > Fix For: 2.0.0 > > Attachments: JCR-2042-poc.patch > > > There should be a RepositoryFactory implementation in jcr2spi that also c= overs acquiring the underlying RepositoryService. > For this purpose I suggest to create: > - a RepositoryServiceFactory in jackrabbit-spi, which encapsulates the s= pi implementation specifc instantiation of the RepositoryService. the facto= ry probably just needs a single method that takes a parameters map. > - a RepositoryFactory implementation in jcr2spi, which works with a URI t= hat contains all required information to connect/acquired the RepositorySer= vice. > To use jcr2spi/spi2jcr/jackrabbit-core: > - jcr+file://path/to/repository/home?config=3Drepository.xml > To use jcr2spi/spi2dav: > - jcr+dav://localhost:8080/server/repository/?br=3D4 > To use jcr2spi/spi2davex: > - jcr+davex://localhost:8080/server/repository/ > An implementation of RepositoryServiceFactory must check the scheme and d= ecide if it can handle it and create a RepositoryService instance with it, = otherwise it must return null. This means there would be a single name for = the connect URI for all RepositoryServiceFactory implementations. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.