- All Implemented Interfaces:
- org.apache.sling.models.spi.ImplementationPicker
@Service
@Property(name="service.ranking",
intValue=2147483647)
public class FirstImplementationPicker
extends Object
implements org.apache.sling.models.spi.ImplementationPicker
Picks first implementation.
This is the default implementation which is not very intelligent because it just picks
the first implementation from the list that is alphabetically ordered by class name.
But at least it gives a consistent behavior.
It's service ranking is set to the highest value to allow more intelligent implementations to step in.