|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BeanArgument
Metadata for a factory method or constructor argument of a bean. The
arguments of a bean are obtained from BeanMetadata.getArguments().
This is specified by the argument elements of a bean.
| Method Summary | |
|---|---|
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. |
java.lang.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. |
| Method Detail |
|---|
Metadata getValue()
value attribute.
java.lang.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.
|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||