Robert Munteanu created OAK-6834:
------------------------------------

             Summary: Make TypeEditor publically accessible and allow pluggable 
constraint violation handling
                 Key: OAK-6834
                 URL: https://issues.apache.org/jira/browse/OAK-6834
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core
            Reporter: Robert Munteanu
            Assignee: Robert Munteanu
             Fix For: 1.8, 1.7.10


For OAK-6580 we need to validate node types at mount time. The logic to perform 
the validation is properly encapsulated in the 
{{org.apache.jackrabbit.oak.plugins.nodetype.TypeEditor}} class. There are two 
issues which we need to work around: 

- the type is not accessible
- the constraint violation handling is not pluggable - it either fails or log a 
WARN

My proposal is to:

- make the TypeEditor public and add a factory method for accesing it
- add a {{ConstraintViolationCallback}} interface which must be passed in to 
the TypeEditor



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to