public interface BeanLocator
Qualifier
annotations.Modifier and Type | Method and Description |
---|---|
<Q extends Annotation,T> |
locate(com.google.inject.Key<T> key)
Finds bean implementations that match the given qualified binding
Key . |
<Q extends Annotation,T,W> |
watch(com.google.inject.Key<T> key,
Mediator<Q,T,W> mediator,
W watcher)
Tracks bean implementations that match the given qualified binding
Key . |
<Q extends Annotation,T> Iterable<? extends BeanEntry<Q,T>> locate(com.google.inject.Key<T> key)
Key
.key
- The qualified key<Q extends Annotation,T,W> void watch(com.google.inject.Key<T> key, Mediator<Q,T,W> mediator, W watcher)
Key
.
Uses the Mediator
pattern to send events to an arbitrary watcher object.
key
- The qualified keymediator
- The event mediatorwatcher
- The bean watcherCopyright © 2013. All rights reserved.