|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BeanLocator
Finds and tracks bean implementations annotated with Qualifier
annotations.
Method Summary | ||
---|---|---|
|
locate(com.google.inject.Key<T> key)
Finds bean implementations that match the given qualified binding Key . |
|
|
watch(com.google.inject.Key<T> key,
Mediator<Q,T,W> mediator,
W watcher)
Tracks bean implementations that match the given qualified binding Key . |
Method Detail |
---|
<Q extends java.lang.annotation.Annotation,T> java.lang.Iterable<BeanEntry<Q,T>> locate(com.google.inject.Key<T> key)
Key
.
key
- The qualified key
<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
pattern to send events to an arbitrary watcher object.
key
- The qualified keymediator
- The event mediatorwatcher
- The bean watcher
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |