[jboss-jira] [JBoss JIRA] (WFCORE-1831) Build XML parser from a resource's pathElement
Jeff Mesnil (JIRA)
issues at jboss.org
Tue Sep 27 08:14:02 EDT 2016
[ https://issues.jboss.org/browse/WFCORE-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Mesnil reassigned WFCORE-1831:
-----------------------------------
Assignee: Tomaz Cerar (was: Brian Stansberry)
> Build XML parser from a resource's pathElement
> ----------------------------------------------
>
> Key: WFCORE-1831
> URL: https://issues.jboss.org/browse/WFCORE-1831
> Project: WildFly Core
> Issue Type: Enhancement
> Components: Domain Management
> Affects Versions: 3.0.0.Alpha8
> Reporter: Jeff Mesnil
> Assignee: Tomaz Cerar
>
> The current PersistentResourceXMLBuilder API requires to pass a ResourceDefinition to build the XML representation to parse and marshall. This requires to provides static ResourceDefinition which may be impratical if the resource model can be affected by the runtime state.
> The PersistentResourceXMLDescription only relies on the resourceDefinition's pathElement to know the "name" of the resource. The list of attributes to map to XML is provided explicitly to the builder.
> The PersistentResourceXMLBuilder API should be modified to use only a PathElement and remove its reference to resourceDefinition.
> For compatibility the current builder method with PersistentResourceDefinition must be kept and delegate to the new one.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list