OSGi™ Service Platform
Compendium Specification

Release 4 Version 4.3

org.osgi.service.blueprint.reflect
Interface IdRefMetadata

All Superinterfaces:
Metadata, NonNullMetadata

public interface IdRefMetadata
extends NonNullMetadata

Metadata for the verified id of another component managed by the Blueprint Container. The id itself will be injected, not the component to which the id refers. No implicit dependency is created.

ThreadSafe

Method Summary
 java.lang.String getComponentId()
          Return the id of the referenced component.
 

Method Detail

getComponentId

java.lang.String getComponentId()
Return the id of the referenced component. This is specified by the component-id attribute of a component.

Returns:
The id of the referenced component.

OSGi™ Service Platform
Compendium Specification

Release 4 Version 4.3

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