public interface Adaption
Its intended use is to make it simple for declarative service components to wait for a certain AdapterFactory to be available
A usage sample is
@Reference(referenceInterface=Adaption.class,target="(&(adaptables=com.myco.MyClass)(adapters=org.apache.sling.api.Resource))", name = "ignore", strategy = ReferenceStrategy.LOOKUP)
Copyright © 2010 - 2020 Adobe. All Rights Reserved