Robert Munteanu created SLING-5139:
--------------------------------------
Summary: Better return type for PluginLoggerRegistrar
Key: SLING-5139
URL: https://issues.apache.org/jira/browse/SLING-5139
Project: Sling
Issue Type: Improvement
Components: IDE
Reporter: Robert Munteanu
Assignee: Robert Munteanu
Priority: Minor
Fix For: Sling Eclipse IDE 1.1.0
The PluginLoggerRegistrar currently returns a ServiceReference<?> since the
Tracer is registered for multiple interfaces. This forces clients to downcast
the reference themselves.
Instead, we should return a ServiceReference<Logger>, since none of the clients
are interested that the Tracer also implements DebugOptionsListener.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)