Interface BeanProperty
@ConsumerType
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.- Author:
- $Id: 3b7a752235b469f86423c24ffd9798f5b5a5a720 $
-
Method Summary
-
Method Details
-
getName
String getName()Return the name of the property to be injected. The name follows Java Beans conventions. This is specified by thename
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 thevalue
attribute or in inlined text.- Returns:
- The Metadata for the value to be injected into a bean.
-