[ 
https://issues.apache.org/jira/browse/JCR-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christophe Lombart resolved JCR-1113.
-------------------------------------

    Resolution: Fixed

The mapper class have been refactored. there is a common ancester. Digestion &  
annotation are in the jcr-mapping subproject

> 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.

Reply via email to