Interface ReferenceListMetadata
-
- All Superinterfaces:
ComponentMetadata,Metadata,NonNullMetadata,ServiceReferenceMetadata
@ConsumerType public interface ReferenceListMetadata extends ServiceReferenceMetadata
Metadata for a list of service references.This is specified by the
reference-listelement.
-
-
Field Summary
Fields Modifier and Type Field Description static intUSE_SERVICE_OBJECTReference list values must be proxies to the actual service objects.static intUSE_SERVICE_REFERENCEReference list values must beServiceReferenceobjects.-
Fields inherited from interface org.osgi.service.blueprint.reflect.ComponentMetadata
ACTIVATION_EAGER, ACTIVATION_LAZY
-
Fields inherited from interface org.osgi.service.blueprint.reflect.ServiceReferenceMetadata
AVAILABILITY_MANDATORY, AVAILABILITY_OPTIONAL
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMemberType()Return whether the List will contain service object proxies orServiceReferenceobjects.-
Methods inherited from interface org.osgi.service.blueprint.reflect.ComponentMetadata
getActivation, getDependsOn, getId
-
Methods inherited from interface org.osgi.service.blueprint.reflect.ServiceReferenceMetadata
getAvailability, getComponentName, getFilter, getInterface, getReferenceListeners
-
-
-
-
Field Detail
-
USE_SERVICE_OBJECT
static final int USE_SERVICE_OBJECT
Reference list values must be proxies to the actual service objects.- See Also:
getMemberType(), Constant Field Values
-
USE_SERVICE_REFERENCE
static final int USE_SERVICE_REFERENCE
Reference list values must beServiceReferenceobjects.- See Also:
getMemberType(), Constant Field Values
-
-
Method Detail
-
getMemberType
int getMemberType()
Return whether the List will contain service object proxies orServiceReferenceobjects. This is specified by themember-typeattribute of the reference list.- Returns:
- Whether the List will contain service object proxies or
ServiceReferenceobjects. - See Also:
USE_SERVICE_OBJECT,USE_SERVICE_REFERENCE
-
-