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/03/19 14:40:42 UTC
[jira] [Closed] (SLING-3455) Adaptation of injected objects does
not work on classes
[ https://issues.apache.org/jira/browse/SLING-3455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson closed SLING-3455.
---------------------------------
> Adaptation of injected objects does not work on classes
> -------------------------------------------------------
>
> Key: SLING-3455
> URL: https://issues.apache.org/jira/browse/SLING-3455
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Affects Versions: Sling Models Implementation 1.0.0
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Fix For: Sling Models Implementation 1.0.2
>
>
> {code}
> @Model(adaptables=Resource.class)
> public interface MyModel {
> @Inject
> ImageModel getImage();
> }
> {code}
> works. But
> {code}
> @Model(adaptables=Resource.class)
> public interface MyModel {
> @Inject
> private ImageModel image;
> }
> {code}
> Does not.
--
This message was sent by Atlassian JIRA
(v6.2#6252)