Use consistent labeling for Sling components
--------------------------------------------

                 Key: SLING-775
                 URL: https://issues.apache.org/jira/browse/SLING-775
             Project: Sling
          Issue Type: Improvement
          Components: General
            Reporter: Mike Pfaff
            Priority: Minor


Currently not all Sling components use an @scr.component label that begins with 
"Sling ". Therefore all the Sling components are not listed "together" in the 
Felix Configuration dropdown. I therefore suggest that all Sling components use 
a label that begins with the same string.

It seems that the currently used "label-prefix" is "Sling ". Maybe it would be 
good from a usability point of view to use "Sling - " as a prefix instead. This 
would separate the "Software Name" and the "Component Name" visually. With the 
configuration dropdown being very small and containing a lot of entries, a 
visual separation would be good IMHO.

These components currently USE the "Sling " prefix:
org.apache.sling.servlets.get.DefaultGetServlet
org.apache.sling.commons.log.LogManager
org.apache.sling.commons.log.LogManager.factory.config.*
org.apache.sling.commons.log.LogManager.factory.writer.*
org.apache.sling.servlets.post.impl.SlingPostServlet
org.apache.sling.runmode.impl.RunModeImpl
org.apache.sling.servlets.resolver.SlingServletResolver
org.apache.sling.samples.pathbasedrtp.DefaultResourceTypeProvider

These component-factories currently USE the "Sling " prefix:
org.apache.sling.commons.log.LogManager.factory.config
org.apache.sling.commons.log.LogManager.factory.writer

These components currently do NOT USE the "Sling " prefix:
org.apache.sling.event.impl.DistributingEventHandler
org.apache.sling.i18n.impl.JcrResourceBundleProvider
org.apache.sling.scripting.jsp.JspScriptEngineFactory
org.apache.sling.scripting.java.JavaScriptEngineFactory
org.apache.sling.event.impl.JobEventHandler
org.apache.sling.jcr.classloader.internal.RepositoryClassLoaderProviderImpl
org.apache.sling.engine.impl.auth.SlingAuthenticator
org.apache.sling.engine.impl.log.RequestLogger
org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl
org.apache.sling.jcr.webdav.impl.servlets.SimpleWebDavServlet

These components currently do NOT HAVE A LABEL at all:
org.apache.sling.event.impl.EventingThreadPool
org.apache.sling.scripting.javascript.internal.RhinoJavaScriptEngineFactory

This component-factory currently does NOT USE the "Sling " prefix:
org.apache.sling.engine.impl.log.RequestLoggerService

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to