[ http://issues.apache.org/jira/browse/JCR-96?page=comments#action_62184 ] angela commented on JCR-96: ---------------------------
trivial to make with a reasonable ide... i got the impression you are afraid of the refactoring ;)... thus only a little encouragement... > Improve NodetypeRegistry > ------------------------ > > Key: JCR-96 > URL: http://issues.apache.org/jira/browse/JCR-96 > Project: Jackrabbit > Type: Improvement > Components: nodetype > Reporter: angela > Assignee: Stefan Guggisberg > Attachments: nodetyperegistry.diff > > 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
