[ 
https://issues.apache.org/jira/browse/JCR-1100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524046
 ] 

Christophe Lombart commented on JCR-1100:
-----------------------------------------

Thanks for your help in this area. 

A couple of comments : 

1/ Interface issue : Agree but I'm not sure that you have to use interfaces to 
support proxy with CGLIB. For example,  we are currently using proxies without 
interface (with cglib) to make lazy loading on bean and collection fields. it 
is just a comment because I don't know if we can use the same approach to 
support mixin via proxies. 

2/ Send us your diff and we can refactor together. It should be nice if you 
have already a small unit test.  By this way, we can work review the code 
faster. 








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

Reply via email to