You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2015/10/13 14:09:05 UTC
[jira] [Created] (SLING-5139) Better return type for
PluginLoggerRegistrar
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)