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,name = "ignore",target="(&(adapters=com.myco.MyClass)(adaptables=org.apache.sling.api.resource.Resource))")