T - the target-type of this BeanDependencypublic interface BeanDependency<T>
BeansProvider.| Modifier and Type | Interface and Description |
|---|---|
static class |
BeanDependency.Fulfillment
Indicates the state of a
BeanDependency. |
| Modifier and Type | Method and Description |
|---|---|
BeanDependency.Fulfillment |
fulfill(BeansProvider beansProvider)
Tries to fulfill this
BeanDependency with beans from the given BeansProvider and returns
the state of fulfillment. |
T |
get()
Returns the target of this
BeanDependency after it was fulfilled. |
BeanDependency.Fulfillment fulfill(BeansProvider beansProvider)
BeanDependency with beans from the given BeansProvider and returns
the state of fulfillment.beansProvider - the BeansProvider to obtain beans fromBeanDependency.FulfillmentT get()
BeanDependency after it was fulfilled.BeanDependency