Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 97291 invoked from network); 19 Jan 2006 09:19:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jan 2006 09:19:10 -0000 Received: (qmail 10998 invoked by uid 500); 19 Jan 2006 09:19:03 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 10940 invoked by uid 99); 19 Jan 2006 09:19:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2006 01:19:03 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 83.166.220.175 is neither permitted nor denied by domain of costin.leau@gmail.com) Received: from [83.166.220.175] (HELO mail.beenzsoftware.ro) (83.166.220.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2006 01:18:59 -0800 Received: (qmail 17804 invoked from network); 19 Jan 2006 11:18:27 +0200 Received: from beenzsoftware.ro (HELO localhost) (83.166.220.175) by beenzsoftware.ro with SMTP; 19 Jan 2006 11:18:27 +0200 Date: Thu, 19 Jan 2006 11:18:30 +0200 From: Costin Leau X-Mailer: The Bat! (v3.60.07) Professional Reply-To: Costin Leau X-Priority: 3 (Normal) Message-ID: <364182646.20060119111830@gmail.com> To: jackrabbit-dev@incubator.apache.org Subject: programatically creating RepositoryConfig MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, I'm trying to create a RepositoryConfig object programatically (through Spring) in order to inject dynamic properties at runtime. It seems there is no 'clean' way to do this as the RepositoryConfig constructor has package visibility and only the Configuration parser can create one based on an xml file. Ideally I would like the constructor to be public and some setters for the rest of the config element. Thanks. -- Best regards, Costin Leau mailto:costin.leau@gmail.com