...
This feature may also be useful for some more general solutions, where you can use newly-introduced method of ModelProvider
: get(Resource)
- this will return mapped object without specifying its class on code level.
For improved performance it's advised to upgrade AEM/CQ add-on too. The new AEM60 add-on in version 1.1.0 and CQ56 add-on in version 2.1.0 contain optimized way of reading component definition.
Throwing exception if fail to create injector
...