[jboss-jira] [JBoss JIRA] (WFLY-5677) 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
Fri Nov 13 08:47:00 EST 2015


Radoslav Husar created WFLY-5677:
------------------------------------

             Summary: Implicitly added resources (no transport, thread pools, etc) should be added by parent add operation instead of the parser
                 Key: WFLY-5677
                 URL: https://issues.jboss.org/browse/WFLY-5677
             Project: WildFly
          Issue Type: Bug
          Components: Clustering
    Affects Versions: 10.0.0.CR4
            Reporter: Radoslav Husar
            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