[jboss-jira] [JBoss JIRA] (WFLY-5605) DataSourceDefinition is registering capabilities for deployment tree resources

Brian Stansberry (JIRA) issues at jboss.org
Thu Oct 29 13:20:00 EDT 2015


Brian Stansberry created WFLY-5605:
--------------------------------------

             Summary: DataSourceDefinition is registering capabilities for deployment tree resources
                 Key: WFLY-5605
                 URL: https://issues.jboss.org/browse/WFLY-5605
             Project: WildFly
          Issue Type: Bug
          Components: JCA
    Affects Versions: 10.0.0.CR4
            Reporter: Brian Stansberry
            Assignee: Jesper Pedersen


The same DataSourceDefinition class is used for registering the MRR for the subsystem=data-sources/(xa-)data-source=* resources and for their equivalents in the /deployment=* tree. In both cases the registerCapabilities() method is recording the datasource capability.

The deployment resources are not actually able to provide the capability[1], so it shouldn't be registered in that case. I believe the DataSourceDefinition.deployed field can be used to turn this off.

[1] Capabilities are management model concepts and can't be provided by services and runtime-only resources. The /deployment=*/subsystem=* resources are runtime-only.



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


More information about the jboss-jira mailing list