Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5B1D4DFB4 for ; Thu, 6 Sep 2012 16:35:09 +0000 (UTC) Received: (qmail 43548 invoked by uid 500); 6 Sep 2012 16:35:08 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 43092 invoked by uid 500); 6 Sep 2012 16:35:07 -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 42906 invoked by uid 99); 6 Sep 2012 16:35:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2012 16:35:07 +0000 Date: Fri, 7 Sep 2012 03:35:07 +1100 (NCT) From: "Chetan Mehrotra (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <174924850.45073.1346949307586.JavaMail.jiratomcat@arcas> In-Reply-To: <98962676.43737.1346928908237.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (JCR-3420) Improving Jackrabbit integration within OSGi and other managed environment MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-3420?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D134497= 84#comment-13449784 ]=20 Chetan Mehrotra commented on JCR-3420: -------------------------------------- For #2 - An implementation which is generic and make use of BeanConfigVisit= or is now available at [1]. This implementation makes use of the visitor to= find out all the dependencies and then manages its OSGi config based on th= ose dependencies. This implementation is generic [1] https://github.com/chetanmeh/sling/compare/osgi-factory-adv#L1R134=20 =20 > Improving Jackrabbit integration within OSGi and other managed environmen= t > -------------------------------------------------------------------------= - > > Key: JCR-3420 > URL: https://issues.apache.org/jira/browse/JCR-3420 > Project: Jackrabbit Content Repository > Issue Type: New Feature > Components: config, jackrabbit-core > Affects Versions: 2.5.1 > Reporter: Michael D=C3=BCrig > Attachments: JCR-3420-osgi-factory.patch > > > While using jackrabbit in managed environment like Sling, Spring etc > its easy for other components to access the Repository service. > However its tricky to use managed components of those env within > Jackrabbit as it creates the instances on its own. To simplify such > integration it would be helpful if JR exposes a factory service which > is used to create the various beans from the JR configuration. > See http://markmail.org/message/johbo2dnepwtjogm for Chetan's initial pro= posal and POC implementation.=20 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira