You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Thomas Draier (JIRA)" <ji...@apache.org> on 2011/04/11 15:37:05 UTC

[jira] [Created] (JCR-2938) Allows configuration of NodeTypeInstanceHandler class

Allows configuration of NodeTypeInstanceHandler class
-----------------------------------------------------

                 Key: JCR-2938
                 URL: https://issues.apache.org/jira/browse/JCR-2938
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-core
            Reporter: Thomas Draier
            Assignee: Thomas Draier
            Priority: Minor


Hi,

It would be useful to be able to specify the NodeTypeInstanceHandler class , in order to add or customize the way auto created properties are populated.
Direct instantiation of the NodeTypeInstanceHandler class could be replaced by calls to a configurable factory.

This could be done by adding a workspace configuration option, like : 
  <NodeTypeInstanceHandler class="org.apache.jackrabbit.core.NodeTypeInstanceHandlerFactory">

I'm not sure if the instance could be kept in the session once it has been created - It has been removed in rev. 985833 , related to JCR-890 . 

Let me know what do you think - I already have a patch available .

Regards


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira