@ConsumerType public interface BeanArgument
BeanMetadata.getArguments()
.
This is specified by the argument
elements of a bean.Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Return the zero-based index into the parameter list of the factory method
or constructor to be invoked for this argument.
|
Metadata |
getValue()
Return the Metadata for the argument value.
|
String |
getValueType()
Return the name of the value type to match the argument and convert the
value into when invoking the constructor or factory method.
|
Metadata getValue()
value
attribute.String getValueType()
type
attribute.null
if no type is specified.int getIndex()
index
attribute for the bean. If not explicitly
set, this will return -1 and the initial ordering is defined by its
position in the BeanMetadata.getArguments()
list.
This is specified by the index
attribute.Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0