[jboss-jira] [JBoss JIRA] (WFLY-5895) Standard way of checking if the request controller is available for extension usage is incorrect

James Perkins (JIRA) issues at jboss.org
Mon Dec 21 14:09:00 EST 2015


James Perkins created WFLY-5895:
-----------------------------------

             Summary: Standard way of checking if the request controller is available for extension usage is incorrect
                 Key: WFLY-5895
                 URL: https://issues.jboss.org/browse/WFLY-5895
             Project: WildFly
          Issue Type: Bug
          Components: Batch, EE
            Reporter: James Perkins
            Assignee: James Perkins


Both batch and EE check if the resource controller is present by checking the model {{context.getOriginalRootResource().hasChild(PathElement.pathElement(ModelDescriptionConstants.SUBSYSTEM, RequestControllerExtension.SUBSYSTEM_NAME));}}. It should {{context.readResourceFromRoot(PathAddress.EMPTY_ADDRESS)}} or better yet use the provided capability.



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


More information about the jboss-jira mailing list