[dna-issues] [JBoss JIRA] Commented: (DNA-230) Enhance NamespaceRegistry with additional functionality

Randall Hauch (JIRA) jira-events at lists.jboss.org
Thu Oct 23 18:34:20 EDT 2008


    [ https://jira.jboss.org/jira/browse/DNA-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12435252#action_12435252 ] 

Randall Hauch commented on DNA-230:
-----------------------------------

Added a method to the NamespaceRegistry interface to obtain a snapshot of the namespaces (prefix and namespace URI) in the registry.  Also changed an BasicExecutionContextFactory to use this method.

> Enhance NamespaceRegistry with additional functionality
> -------------------------------------------------------
>
>                 Key: DNA-230
>                 URL: https://jira.jboss.org/jira/browse/DNA-230
>             Project: DNA
>          Issue Type: Feature Request
>          Components: API, SPI
>    Affects Versions: 0.2
>            Reporter: Randall Hauch
>            Priority: Minor
>             Fix For: 0.3
>
>
> NamespaceRegistry has no ability to obtain a consistent snapshot of the prefix/URI pairs, which is important for a thread-safe and concurrent namespace registry.  Also, may want an alternative registry that takes a register behavior enum specifying what to do when registering a namespace if that namespace or prefix is already used.  Options include: 1) replace, 2) use automatically generated prefix, 3) fail

-- 
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