Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 65960 invoked from network); 4 Sep 2007 19:15:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Sep 2007 19:15:09 -0000 Received: (qmail 9496 invoked by uid 500); 4 Sep 2007 19:15:03 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 9472 invoked by uid 500); 4 Sep 2007 19:15:02 -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 9463 invoked by uid 99); 4 Sep 2007 19:15:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2007 12:15:02 -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; Tue, 04 Sep 2007 19:16:21 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 714DF71418F for ; Tue, 4 Sep 2007 12:14:45 -0700 (PDT) Message-ID: <26231832.1188933285453.JavaMail.jira@brutus> Date: Tue, 4 Sep 2007 12:14:45 -0700 (PDT) From: "Christophe Lombart (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-1113) Refactor the Mapper & DescriptotReader classes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Refactor the Mapper & DescriptotReader classes ---------------------------------------------- Key: JCR-1113 URL: https://issues.apache.org/jira/browse/JCR-1113 Project: Jackrabbit Issue Type: Improvement Components: jcr-mapping Reporter: Christophe Lombart Assignee: Christophe Lombart Fix For: 1.4 I would like to refactor the mappers and the descriptor readers in order to : * Create an abstract mapper impl because both Mapper classes have a lot of code in common (AnnotedObjectMapper & DigesterMapperImpl). Only the readers are different. The Mappers can make exactly the same process. * The Mapper classes should not have the responsibility to create the jcr node types. This can be done outside the mapper and it should be an optional operation. There are certainly some use cases where node type creation is not necessary. Right now, the annotated object mapper creates jcr node types. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.