[overlord-issues] [JBoss JIRA] (SRAMP-230) ArtifactDeriver Subclasses Should Have Direct Access To The StaticNamespaceContext
Eric Wittmann (JIRA)
jira-events at lists.jboss.org
Wed Sep 4 11:17:04 EDT 2013
[ https://issues.jboss.org/browse/SRAMP-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Wittmann reassigned SRAMP-230:
-----------------------------------
Assignee: Eric Wittmann (was: Kurt Stam)
> 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
>
> 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