Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 14450 invoked from network); 30 Aug 2007 22:46:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Aug 2007 22:46:56 -0000 Received: (qmail 75891 invoked by uid 500); 30 Aug 2007 22:46:49 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 75862 invoked by uid 500); 30 Aug 2007 22:46:49 -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 75853 invoked by uid 99); 30 Aug 2007 22:46:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 15:46:49 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 22:47:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C831571420E for ; Thu, 30 Aug 2007 15:46:30 -0700 (PDT) Message-ID: <15128362.1188513990817.JavaMail.jira@brutus> Date: Thu, 30 Aug 2007 15:46:30 -0700 (PDT) From: "Padraic Hannon (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-1100) Support for dynamic mixins In-Reply-To: <23000117.1188513990524.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523960 ] Padraic Hannon commented on JCR-1100: ------------------------------------- I currently have this working for persistence using cglib. However, it requires moving away from pojo's and requires having interfaces defined to create the proxy dynamically. I can upload diffs with the code, however, I think the solution would be to not have to resort to creating interfaces for everything. > Support for dynamic mixins > -------------------------- > > Key: JCR-1100 > URL: https://issues.apache.org/jira/browse/JCR-1100 > Project: Jackrabbit > Issue Type: New Feature > Components: jcr-mapping > Affects Versions: 1.3.1 > Reporter: Padraic Hannon > > JCR allows one to add mixins to nodes dynamically. However, within the ocm code one cannot readily add mixins dynamically to objects. This feature would allow jcr nodes to be updated with a mixin and ocm to read that node and ensure an object is created correctly. Additionally for a passed in object upon storage the ocm would inspect it and ensure all mixed in object fields are added to the class descriptor. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.