]
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}