Package com.adobe.granite.references
Interface ReferenceProvider
-
@ConsumerType public interface ReferenceProvider
AReferenceProvider
providesReference
s of aReferenceList
. Implementations must register themselves as an OSGi-component and declare themselves as a service on this interface. This way the reference aggregator service is able to dynamically use available providers to retrieve references for a givenResource
. References are provided viagetReferences(Resource)
.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Reference>
getReferences(Resource resource)
Provides aCollection
ofReference
s for the given resource.java.lang.String
getType()
Returns the type of references this provider provides.
-