public interface ReferenceAggregator
ReferenceAggregator
is an OSGi-service providing creation of Reference
s
for the given resource.
The service can be obtained from the OSGi service registry via the interface.Modifier and Type | Method and Description |
---|---|
ReferenceList |
createReferenceList(Resource resource)
Create a
ReferenceList for the given resource . |
ReferenceList |
createReferenceList(Resource resource,
java.lang.String... types)
Create a
ReferenceList for the given resource . |
java.util.Set<java.lang.String> |
getTypes()
Returns a set of all known references types.
|
ReferenceList createReferenceList(Resource resource)
ReferenceList
for the given resource
.resource
- The Resource
for which to create a ReferenceList
.ReferenceList
.ReferenceList createReferenceList(Resource resource, java.lang.String... types)
ReferenceList
for the given resource
.resource
- The Resource
for which to create a ReferenceList
.types
- An array of String
s corresponding to references types to consider.ReferenceList
.java.util.Set<java.lang.String> getTypes()
ReferenceProvider
s.Set
of references types and their keys (names) - or an empty set if no providers are
registered."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"