[
https://issues.apache.org/jira/browse/SLING-6016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15449028#comment-15449028
]
Stefan Seifert commented on SLING-6016:
---------------------------------------
i find the solution with providing different methods for the 3 usecases best.
than it is more clear what is happening and the javadocs and @Nonnull
annotations can precisely describe what's happening. the current support of
ValueMap.class is quite hidden in the javadocs.
i will add those methods to the API and and than we can decide if we stick with
it.
> Context-Aware Config: Support adapting configuration resources
> --------------------------------------------------------------
>
> Key: SLING-6016
> URL: https://issues.apache.org/jira/browse/SLING-6016
> Project: Sling
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: Context-Aware Configuration 1.0.0
> Reporter: Stefan Seifert
> Assignee: Stefan Seifert
> Labels: contextaware-config
> Fix For: Context-Aware Configuration 1.0.0
>
>
> carsten introduced in rev. 1758332 a new feature:
> the ConfigurationBuilder#as method should also support adapting to any other
> object for which a sling adapter manager exits, not only to configuration
> annotation classes.
> this is currently not reflected in the API, and unit tests are missing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)