|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BeanLocator
Dynamic locator of beans annotated with Qualifier
annotations.
Method Summary | ||
---|---|---|
|
locate(com.google.inject.Key<T> key,
java.lang.Runnable notify)
Locates beans that match the given qualified binding Key . |
|
|
watch(com.google.inject.Key<T> key,
Mediator<Q,T,W> mediator,
W watcher)
Watches out for beans that match the given qualified binding Key . |
Method Detail |
---|
<Q extends java.lang.annotation.Annotation,T> java.lang.Iterable<QualifiedBean<Q,T>> locate(com.google.inject.Key<T> key, java.lang.Runnable notify)
Key
.
key
- The qualified keynotify
- Optional callback; called when the bean sequence changes
<Q extends java.lang.annotation.Annotation,T,W> void watch(com.google.inject.Key<T> key, Mediator<Q,T,W> mediator, W watcher)
Key
. Mediator
mediates bean events between locator and watcher.
key
- The qualified keymediator
- The update mediatorwatcher
- The bean watcher
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |