OSGi™ Service Platform
Release 4 Version 4.2

org.osgi.service.blueprint.reflect
Interface BeanProperty


public interface BeanProperty

Metadata for a property to be injected into a bean. The properties of a bean are obtained from BeanMetadata.getProperties(). This is specified by the property elements of a bean. Properties are defined according to the Java Beans conventions.

ThreadSafe

Method Summary
 java.lang.String getName()
          Return the name of the property to be injected.
 Metadata getValue()
          Return the Metadata for the value to be injected into a bean.
 

Method Detail

getName

java.lang.String getName()
Return the name of the property to be injected. The name follows Java Beans conventions. This is specified by the name attribute.

Returns:
The name of the property to be injected.

getValue

Metadata getValue()
Return the Metadata for the value to be injected into a bean. This is specified by the value attribute or in inlined text.

Returns:
The Metadata for the value to be injected into a bean.

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