Package | Description |
---|---|
org.eclipse.sisu.inject |
Dynamic bean lookup across multiple injectors.
|
org.eclipse.sisu.space |
Customizable scanning of bean implementations.
|
Modifier and Type | Field and Description |
---|---|
private Mediator<Q,T,W> |
WatchedBeans.mediator |
Modifier and Type | Method and Description |
---|---|
static <Q extends java.lang.annotation.Annotation,T,W> |
Legacy.adapt(Mediator<Q,T,W> delegate)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<Q extends java.lang.annotation.Annotation,T,W> |
BeanLocator.watch(com.google.inject.Key<T> key,
Mediator<Q,T,W> mediator,
W watcher)
Tracks bean implementations that match the given qualified binding
Key . |
void |
DefaultBeanLocator.watch(com.google.inject.Key key,
Mediator mediator,
java.lang.Object watcher) |
Constructor and Description |
---|
WatchedBeans(com.google.inject.Key<T> key,
Mediator<Q,T,W> mediator,
W watcher) |
Modifier and Type | Field and Description |
---|---|
(package private) Mediator<Q,T,W> |
MediationListener.Mediation.mediator |
Modifier and Type | Method and Description |
---|---|
private void |
QualifiedTypeBinder.mediate(com.google.inject.Key watchedKey,
Mediator mediator,
java.lang.Class watcherType)
Uses the given mediator to mediate updates between the
BeanLocator and associated watchers. |
void |
MediationListener.mediate(com.google.inject.Key key,
Mediator mediator,
java.lang.Class watcherType)
Adds a
MediationListener.Mediation record containing the necessary details about a mediated watcher. |
Modifier and Type | Method and Description |
---|---|
private void |
QualifiedTypeBinder.registerMediator(java.lang.Class<Mediator> mediatorType)
Registers an instance of the given
Mediator using its generic type arguments as configuration. |
Constructor and Description |
---|
Mediation(com.google.inject.Key<T> watchedKey,
Mediator<Q,T,W> mediator,
java.lang.Class<W> watcherType) |