Brian Stansberry created WFCORE-5240:
----------------------------------------
Summary: Add a ManagementResourceRegistration.registerSubModelIfAbsent
method
Key: WFCORE-5240
URL:
https://issues.redhat.com/browse/WFCORE-5240
Project: WildFly Core
Issue Type: Enhancement
Components: Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Subsystems, particularly datasources and resource-adapters, have code like this that's
called from service start methods:
https://github.com/wildfly/wildfly/blob/master/connector/src/main/java/or...
This is basically trying for a quasi putIfAbsent semantic. But it's not really
reliable, particularly if multiple services are doing the same thing during boot.
So, add a proper putIfAbsent-type submodel registration method to
ManagementResourceRegistration.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)