When working on an AEM project, Sling Models provides several custom Sling Models injectors to aid injection of Sling objects, Sling object values, OSGI services, etc…
While using the injectors within in Sling Models, how do injectors invoke in order? Injectors are invoked in order, of their service ranking, from lowest to highest. If you are writing a custom injector, it is good practice to include service ranking.
Examples of the common injectors and their service ranking from the Apache Sling Models availiable injectors, injector-specific annotations, list (since version 1.1.0):
@Self, 2147483647 (Integer.MAX_VALUE)
@SlingObject, 2147483647 (Integer.MAX_VALUE)
Read Full Blog
Please use this thread to ask the related questions.