| org.eclipse.sisu.inject.BeanLocator |
Known Indirect Subclasses
|
Finds and tracks bean implementations annotated with Qualifier annotations.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract <Q extends Annotation, T> Iterable<? extends BeanEntry<Q, T>> |
locate(Key<T> key)
Finds bean implementations that match the given qualified binding Key.
| ||||||||||
| abstract <Q extends Annotation, T, W> void |
watch(Key<T> key, Mediator<Q, T, W> mediator, W watcher)
Tracks bean implementations that match the given qualified binding Key.
| ||||||||||
Finds bean implementations that match the given qualified binding Key.
| key | The qualified key |
|---|
Tracks bean implementations that match the given qualified binding Key.
Uses the Mediator pattern to send events to an arbitrary watcher object.
| key | The qualified key |
|---|---|
| mediator | The event mediator |
| watcher | The bean watcher |