[jboss-jira] [JBoss JIRA] (WFLY-9395) Move ClusteringRequirement to the public API module

Paul Ferraro (Jira) issues at jboss.org
Thu Apr 4 15:11:01 EDT 2019


     [ https://issues.jboss.org/browse/WFLY-9395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Ferraro updated WFLY-9395:
-------------------------------
    Issue Type: Enhancement  (was: Bug)


> Move ClusteringRequirement to the public API module
> ---------------------------------------------------
>
>                 Key: WFLY-9395
>                 URL: https://issues.jboss.org/browse/WFLY-9395
>             Project: WildFly
>          Issue Type: Enhancement
>          Components: Clustering
>    Affects Versions: 11.0.0.CR1
>            Reporter: Radoslav Husar
>            Assignee: Paul Ferraro
>            Priority: Major
>
> Currently the user needs to rely on using the capability name as service name to establish a dependency, e.g.:
> {code:java}
>             policy.createSingletonServiceBuilder(SINGLETON_SERVICE_NAME, service)
>                     .build(serviceActivatorContext.getServiceTarget())
>                     .addDependency(ServiceName.parse("org.wildfly.clustering.default-group"), Group.class, group)
>                     .install();
> {code}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list