Register shell command through service factory
----------------------------------------------

                 Key: SLING-2334
                 URL: https://issues.apache.org/jira/browse/SLING-2334
             Project: Sling
          Issue Type: Improvement
          Components: Extensions
    Affects Versions: Extensions Thread Dumper 0.2.0
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Extensions Thread Dumper 0.2.2


Currently the shell command is using an optional import, so when the shell 
bundle is not available on startup the command is never registered

We should rather use a dynamic import and a service factory to register the 
command. This should delay the class loading until the command is really used 
by the shell

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to