[jboss-jira] [JBoss JIRA] (WFCORE-4163) Easier API for creating capability ServiceNames from DUPs and deployment services
Brian Stansberry (Jira)
issues at jboss.org
Fri Oct 12 13:48:00 EDT 2018
Brian Stansberry created WFCORE-4163:
----------------------------------------
Summary: Easier API for creating capability ServiceNames from DUPs and deployment services
Key: WFCORE-4163
URL: https://issues.jboss.org/browse/WFCORE-4163
Project: WildFly Core
Issue Type: Enhancement
Components: Management
Reporter: Brian Stansberry
Assignee: Jeff Mesnil
Code like this is starting to proliferate:
CapabilityServiceSupport capabilityServiceSupport = deploymentUnit.getAttachment(org.jboss.as.server.deployment.Attachments.CAPABILITY_SERVICE_SUPPORT);
ServiceName serviceName = capabilityServiceSupport.getCapabilityServiceName("org.wildfly.foo.bar");
Perhaps just this?
ServiceName serviceName = deploymentUnit.getCapabilityServiceName("org.wildfly.foo.bar");
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list