[jboss-jira] [JBoss JIRA] (WFLY-5672) Implicitly added resources (no transport, thread pools, etc) should be added by parent add operation instead of the parser

Radoslav Husar (JIRA) issues at jboss.org
Mon Nov 16 10:22:00 EST 2015


    [ https://issues.jboss.org/browse/WFLY-5672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129295#comment-13129295 ] 

Radoslav Husar edited comment on WFLY-5672 at 11/16/15 10:21 AM:
-----------------------------------------------------------------

Update: work in progress.


was (Author: rhusar):
Update: still work in progress.

> Implicitly added resources (no transport, thread pools, etc) should be added by parent add operation instead of the parser
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-5672
>                 URL: https://issues.jboss.org/browse/WFLY-5672
>             Project: WildFly
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 10.0.0.CR4
>            Reporter: James Perkins
>            Assignee: Paul Ferraro
>
> It looks like in the [infinispan subsystem parser|https://github.com/wildfly/wildfly/blob/master/clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/subsystem/InfinispanSubsystemXMLReader.java#L173-L178] some thread pools are explicitly added. This means these resources are not added if adding the subsystem via the {{add}} operation. These resources should be added like any other child resource of the subsystem.
> If the resources can't be added like that, e.g. they are truly defaults, the add handler for the parent can add a step to check for children and add any missing ones. This would result in the same behavior, but allow the {{add}} operation to work correctly.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list