@ConsumerType
public interface ReferenceProvider
ReferenceProvider
provides Reference
s of a
ReferenceList
.
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 given Resource
.
References are provided via getReferences(Resource)
.Modifier and Type | Method and Description |
---|---|
java.util.List<Reference> |
getReferences(Resource resource)
Provides a
Collection of Reference s for the given resource. |
java.lang.String |
getType()
Returns the type of references this provider provides.
|
Copyright © 2010 - 2020 Adobe. All Rights Reserved