You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2014/09/22 17:17:33 UTC

[jira] [Created] (SLING-3960) AdapterManager should validate the adapter and adaptables for AdapterFactories

Justin Edelson created SLING-3960:
-------------------------------------

             Summary: AdapterManager should validate the adapter and adaptables for AdapterFactories
                 Key: SLING-3960
                 URL: https://issues.apache.org/jira/browse/SLING-3960
             Project: Sling
          Issue Type: Improvement
          Components: Extensions
            Reporter: Justin Edelson


It is too easy to make a simple typo in the service properties for an AdapterFactory. We should do some validation to ensure that the classes are valid.

1) On service registration, if the package for an adapter or adaptable class isn't exported, log a warning.
2) In the webconsole, highlight (in red?) adapter or adaptable classes which aren't exported.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)