SLING-5032 - Even if a field is annotated with Source the ModelAdapterFactory will...
authorRadu Cotescu <radu@apache.org>
Mon, 21 Sep 2015 10:33:46 +0000 (10:33 +0000)
committerRadu Cotescu <radu@apache.org>
Mon, 21 Sep 2015 10:33:46 +0000 (10:33 +0000)
commit565197dc5f43fcf54315134e7923b45c8eb4b4de
tree2d37429ee844f4168a2e1bec1a5058213f2fbf6f
parentf71cf0878ae523bfa7b8396bd2de99faa2779c41
SLING-5032 - Even if a field is annotated with Source the ModelAdapterFactory will query all injectors

* allow retrieving an injector directly if @Source is used, without iterating through all registered injectors

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl@1704257 13f79535-47bb-0310-9956-ffa450edef68
src/main/java/org/apache/sling/models/impl/ModelAdapterFactory.java
src/test/java/org/apache/sling/models/impl/MultipleInjectorTest.java