[ 
https://issues.apache.org/jira/browse/SLING-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184864#comment-13184864
 ] 

Felix Meschberger commented on SLING-2355:
------------------------------------------

Ok, thanks for the clarification.

How about doing this as an extension to the existing AdapterFactory annotations 
(are there any?)

Or could these annotations be used to generate the DS service properties for 
AdapterFactories ?

I just want to prevent duplicate definitions which are hard to maintain.
                
> An Adapter annotation should be able to declare that it replaces the service 
> properties metadata
> ------------------------------------------------------------------------------------------------
>
>                 Key: SLING-2355
>                 URL: https://issues.apache.org/jira/browse/SLING-2355
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions, Maven Plugins and Archetypes
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>
> Currently, the Adapters web console plugin merges metadata from the JSON 
> files with the metadata extracted from the OSGi service properties for 
> AdapterFactory services. It should be possible for the JSON metadata to 
> declare that it overrides the metadata from the AdapterFactory service (just 
> for the purposes of the web console plugin).

--
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