-
Sub-task
-
Resolution: Done
-
Major
-
24.0.0.Beta3
-
None
wildfly-clustering-common uses *naryServiceNameFactory interfaces to resolve a service descriptor to a ServiceName for use outside of management operations, e.g. for generating service names during DUP processing. In the absence of these methods, resolving a service descriptor to a ServiceName requires the same steps:
Map.Entry<String, String[]> resolved = descriptor.resolve(...);
return ServiceNameFactory.parseServiceName(resolved.getKey()).append(resolved.getValue());
Since a service descriptor has a well-defined "cacheable" portion, moving this logic to methods within ServiceNameFactory is a natural fit.