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

Paul Ferraro (JIRA) issues at jboss.org
Wed Sep 27 10:42:00 EDT 2017


    [ https://issues.jboss.org/browse/WFLY-9395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469342#comment-13469342 ] 

Paul Ferraro commented on WFLY-9395:
------------------------------------

The proposal is to create a new public wildfly-clustering-msc module which contains:
* singleton service API
* clustering api requirement enums

> Move ClusteringRequirement to the public API module
> ---------------------------------------------------
>
>                 Key: WFLY-9395
>                 URL: https://issues.jboss.org/browse/WFLY-9395
>             Project: WildFly
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 11.0.0.CR1
>            Reporter: Radoslav Husar
>            Assignee: Paul Ferraro
>
> 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.2.3#72005)


More information about the jboss-jira mailing list