OSGi™ Service Platform
Release 4 Version 4.2

org.osgi.service.blueprint.reflect
Interface ReferenceListMetadata

All Superinterfaces:
ComponentMetadata, Metadata, NonNullMetadata, ServiceReferenceMetadata

public interface ReferenceListMetadata
extends ServiceReferenceMetadata

Metadata for a list of service references.

This is specified by the reference-list element.

ThreadSafe

Field Summary
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 be ServiceReference objects.
 
Fields inherited from interface org.osgi.service.blueprint.reflect.ServiceReferenceMetadata
AVAILABILITY_MANDATORY, AVAILABILITY_OPTIONAL
 
Fields inherited from interface org.osgi.service.blueprint.reflect.ComponentMetadata
ACTIVATION_EAGER, ACTIVATION_LAZY
 
Method Summary
 int getMemberType()
          Return whether the List will contain service object proxies or ServiceReference objects.
 
Methods inherited from interface org.osgi.service.blueprint.reflect.ServiceReferenceMetadata
getAvailability, getComponentName, getFilter, getInterface, getReferenceListeners
 
Methods inherited from interface org.osgi.service.blueprint.reflect.ComponentMetadata
getActivation, getDependsOn, getId
 

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 be ServiceReference objects.

See Also:
getMemberType(), Constant Field Values
Method Detail

getMemberType

int getMemberType()
Return whether the List will contain service object proxies or ServiceReference objects. This is specified by the member-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

OSGi™ Service Platform
Release 4 Version 4.2

Copyright © OSGi Alliance (2000, 2010). All Rights Reserved. Licensed under the OSGi Specification License, Version 1.0