[overlord-issues] [JBoss JIRA] (SRAMP-230) ArtifactDeriver Subclasses Should Have Direct Access To The StaticNamespaceContext

Eric Wittmann (JIRA) jira-events at lists.jboss.org
Fri Sep 6 14:35:03 EDT 2013


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

Eric Wittmann updated SRAMP-230:
--------------------------------

    Git Pull Request: https://github.com/Governance/s-ramp/pull/314

    
> ArtifactDeriver Subclasses Should Have Direct Access To The StaticNamespaceContext
> ----------------------------------------------------------------------------------
>
>                 Key: SRAMP-230
>                 URL: https://issues.jboss.org/browse/SRAMP-230
>             Project: S-RAMP
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Core
>    Affects Versions: 0.4.0 - API Management
>            Reporter: Dan Florian
>            Assignee: Eric Wittmann
>             Fix For: 0.3.1 - jBPM - bugfix 1
>
>
> While writing a custom {{AbstractXmlDeriver}}, I needed to register a namespace discovered during the processing of the XML file (i.e., during the {{derive}} method). The only way I could figure out how to do this was to cache the instance of the {{StaticNamespaceContext}} passed into the {{configureNamespaceMappings}} method. Then, when the {{derive}} method is called I could register namespaces with the namespace context. It would be nice to have a getter for the namespace context for subclasses to use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the overlord-issues mailing list