[ https://issues.apache.org/jira/browse/JCR-3420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449784#comment-13449784 ] Chetan Mehrotra commented on JCR-3420: -------------------------------------- For #2 - An implementation which is generic and make use of BeanConfigVisitor 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 those dependencies. This implementation is generic [1] https://github.com/chetanmeh/sling/compare/osgi-factory-adv#L1R134 > Improving Jackrabbit integration within OSGi and other managed environment > -------------------------------------------------------------------------- > > 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ürig > 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 proposal and POC implementation. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira