[dna-issues] [JBoss JIRA] Updated: (DNA-460) NodeTypeManager.unregisterType

Brian Carothers (JIRA) jira-events at lists.jboss.org
Tue Jan 5 06:13:30 EST 2010


     [ https://jira.jboss.org/jira/browse/DNA-460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Carothers updated DNA-460:
--------------------------------

    Attachment: DNA-460_query.patch


Attached patch that completes the unregistration functionality by using the query engine to make sure that a type is not in use before it is unregistered.

Using the query manager outside of the context of a particular session required some the extraction of an abstract class that provides a small subset of the total functionality of the JcrWorkspace class.  An abstract class was used instead of an interface to preserve the package visibility of most of the methods in the class.

> NodeTypeManager.unregisterType
> ------------------------------
>
>                 Key: DNA-460
>                 URL: https://jira.jboss.org/jira/browse/DNA-460
>             Project: DNA
>          Issue Type: Feature Request
>          Components: JCR
>    Affects Versions: 0.5
>            Reporter: Brian Carothers
>            Assignee: Brian Carothers
>             Fix For: 1.1
>
>         Attachments: DNA-460.patch, DNA-460_query.patch
>
>
> The JSR-170 specification doesn't require (or really even mention) registering and unregistering custom node types.  But since DNA supports registering node types, it seems like its pretty important to support unregistering node types as well.  A swapTypes method to atomically port from one set of types to another may also be useful.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the dna-issues mailing list