Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
None
-
None
-
None
Description
While working on JBAS-8542 I noticed that String may be a poor representation of a ServiceName.
Consider
ServiceName.JBOSS.append("osgi", "framework");
which is a pattern that we find everywhere in the AS codebase.
ServiceName.parse("jboss.osgi.framework") would construct a ServiceName that is equivalent to
ServiceName.JBOSS.append("osgi").append("framework"), which is not equal what I used above.
Hence
ServiceContainer.getService(ServiceName.parse("jboss.osgi.framework"))
fails if the framework service was not constructed with ServiceName.JBOSS.append("osgi").append("framework")
Attachments
Issue Links
- relates to
-
AS7-47 Provide management view on the ServiceContainer
- Closed