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

Radoslav Husar (JIRA) issues at jboss.org
Wed Sep 27 10:25:00 EDT 2017


Radoslav Husar created WFLY-9395:
------------------------------------

             Summary: 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