Package org.apache.sling.adapter
Interface Adaption
public interface Adaption
The
Adaptionis a marker interface which is registered as a service by the
AdapterManageronce a certain
AdapterFactoryis available
Its intended use is to make it simple for declarative service components to wait for a certain
AdapterFactoryto 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)