[jboss-jira] [JBoss JIRA] (WFCORE-1831) Build XML parser from a resource's pathElement

Tomaz Cerar (JIRA) issues at jboss.org
Tue Sep 27 08:16:00 EDT 2016


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

Tomaz Cerar updated WFCORE-1831:
--------------------------------
    Fix Version/s: 3.0.0.Alpha9


> 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
>             Fix For: 3.0.0.Alpha9
>
>
> 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