Improve NodetypeRegistry
------------------------

         Key: JCR-96
         URL: http://issues.apache.org/jira/browse/JCR-96
     Project: Jackrabbit
        Type: Improvement
  Components: nodetype  
    Reporter: angela


hi

as discussed earlier (before easter)

1) 
- rename NodeTypeRegistry to NodeTypeRegistryImpl
- extract interface NodeTypeRegistry 
- used interface instead of implementing class (except where registry is created
  and in the dump in NodeTypeManagerImpl.

2)
- provide second static create method that allows to create a nodetype registry
  remotely, where no xml-storage exists.

attached: diff (it looks garbled... don't know why...).
1) is trivial.... 
2) you would probably want a different appraoch.

btw: in addition i modified:

- rename 'NodeTypeRegistry ntMgr' to 'NodeTypeRegistry ntReg' in the create 
methods.
- in dump changed 'NodeTypeManager (this)' to 'NodeTypeRegistry (this)'

thanks
angela


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to