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-list
element.
-
-
Field Summary
Fields Modifier and Type Field Description static int
USE_SERVICE_OBJECT
Reference list values must be proxies to the actual service objects.static int
USE_SERVICE_REFERENCE
Reference list values must beServiceReference
objects.-
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 int
getMemberType()
Return whether the List will contain service object proxies orServiceReference
objects.-
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 beServiceReference
objects.- See Also:
getMemberType()
, Constant Field Values
-
-
Method Detail
-
getMemberType
int getMemberType()
Return whether the List will contain service object proxies orServiceReference
objects. This is specified by themember-type
attribute of the reference list.- Returns:
- Whether the List will contain service object proxies or
ServiceReference
objects. - See Also:
USE_SERVICE_OBJECT
,USE_SERVICE_REFERENCE
-
-