Package | Description |
---|---|
org.eclipse.sisu |
Injectable API for Sisu components (a.k.a beans).
|
org.eclipse.sisu.inject |
Dynamic bean lookup across multiple injectors.
|
org.eclipse.sisu.plexus |
Sisu-Plexus backend implementation.
|
org.eclipse.sisu.wire |
Customizable wiring of unresolved dependencies.
|
org.sonatype.inject |
Deprecated; new applications should use
org.eclipse.sisu . |
Modifier and Type | Method and Description |
---|---|
void |
Mediator.add(BeanEntry<Q,T> entry,
W watcher)
Processes the added
BeanEntry and sends the necessary updates to the watcher. |
void |
Mediator.remove(BeanEntry<Q,T> entry,
W watcher)
Processes the removed
BeanEntry and sends the necessary updates to the watcher. |
Modifier and Type | Class and Description |
---|---|
(package private) class |
LazyBeanEntry<Q extends java.lang.annotation.Annotation,T>
Lazy
BeanEntry backed by a qualified Binding and an assigned rank. |
Modifier and Type | Field and Description |
---|---|
private BeanEntry<Q,T> |
LocatedBeans.Itr.nextBean |
Modifier and Type | Field and Description |
---|---|
private static Legacy<BeanEntry<?,?>> |
Legacy.LEGACY_BEAN_ENTRY
Deprecated.
|
private java.util.Map<com.google.inject.Binding<T>,BeanEntry<Q,T>> |
LocatedBeans.Itr.readCache |
private java.util.Map<com.google.inject.Binding<T>,BeanEntry<Q,T>> |
BeanCache.readCache |
Modifier and Type | Method and Description |
---|---|
BeanEntry<Q,T> |
BeanCache.create(Q qualifier,
com.google.inject.Binding<T> binding,
int rank)
Atomically creates a new
BeanEntry for the given Binding reference. |
BeanEntry<Q,T> |
LocatedBeans.Itr.next() |
BeanEntry<Q,T> |
BeanCache.remove(com.google.inject.Binding<T> binding)
Removes the
BeanEntry associated with the given Binding reference. |
Modifier and Type | Method and Description |
---|---|
java.util.Map<com.google.inject.Binding<T>,BeanEntry<Q,T>> |
BeanCache.flush() |
java.util.Iterator<BeanEntry<Q,T>> |
LocatedBeans.iterator() |
java.lang.Iterable<BeanEntry> |
DefaultBeanLocator.locate(com.google.inject.Key key) |
<Q extends java.lang.annotation.Annotation,T> |
BeanLocator.locate(com.google.inject.Key<T> key)
Finds bean implementations that match the given qualified binding
Key . |
Modifier and Type | Method and Description |
---|---|
static <Q extends java.lang.annotation.Annotation,T> |
Legacy.adapt(BeanEntry<Q,T> delegate)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <Q extends java.lang.annotation.Annotation,T> |
Legacy.adapt(java.lang.Iterable<? extends BeanEntry<Q,T>> delegate)
Deprecated.
|
static <Q extends java.lang.annotation.Annotation,T> |
Legacy.adapt(com.google.inject.Provider<java.lang.Iterable<? extends BeanEntry<Q,T>>> delegate)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private BeanEntry<com.google.inject.name.Named,T> |
LazyPlexusBean.bean |
private BeanEntry<com.google.inject.name.Named,T> |
RealmFilteredBeans.FilteredItr.nextBean |
Modifier and Type | Field and Description |
---|---|
private java.lang.Iterable<BeanEntry<com.google.inject.name.Named,T>> |
HintedPlexusBeans.beans |
(package private) java.lang.Iterable<BeanEntry<com.google.inject.name.Named,T>> |
DefaultPlexusBeans.beans |
(package private) java.lang.Iterable<BeanEntry<com.google.inject.name.Named,T>> |
RealmFilteredBeans.beans |
private java.util.Iterator<BeanEntry<com.google.inject.name.Named,T>> |
DefaultPlexusBeans.Itr.itr |
private java.util.Iterator<BeanEntry<com.google.inject.name.Named,T>> |
RealmFilteredBeans.FilteredItr.itr |
Modifier and Type | Method and Description |
---|---|
BeanEntry<com.google.inject.name.Named,T> |
RealmFilteredBeans.FilteredItr.next() |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<BeanEntry<com.google.inject.name.Named,T>> |
RealmFilteredBeans.iterator() |
Constructor and Description |
---|
LazyPlexusBean(BeanEntry<com.google.inject.name.Named,T> bean) |
Constructor and Description |
---|
DefaultPlexusBeans(java.lang.Iterable<BeanEntry<com.google.inject.name.Named,T>> beans) |
HintedPlexusBeans(java.lang.Iterable<BeanEntry<com.google.inject.name.Named,T>> beans,
com.google.inject.TypeLiteral<T> role,
java.lang.String[] hints) |
RealmFilteredBeans(java.lang.Iterable<BeanEntry<com.google.inject.name.Named,T>> beans) |
Modifier and Type | Field and Description |
---|---|
private BeanEntry<K,V> |
ProviderIterableAdapter.ProviderEntry.entry |
Modifier and Type | Field and Description |
---|---|
private java.lang.Iterable<BeanEntry<K,V>> |
ProviderIterableAdapter.delegate |
private java.util.Iterator<BeanEntry<K,V>> |
ProviderIterableAdapter.ProviderIterator.iterator |
Modifier and Type | Method and Description |
---|---|
<K extends java.lang.annotation.Annotation,V> |
BeanProviders.beanEntriesOf(com.google.inject.Key<V> key)
Provides
Iterable sequences of raw BeanEntry s. |
Constructor and Description |
---|
ProviderEntry(BeanEntry<K,V> entry) |
Constructor and Description |
---|
ProviderIterableAdapter(java.lang.Iterable<BeanEntry<K,V>> delegate) |
ProviderIterator(java.lang.Iterable<BeanEntry<K,V>> iterable) |
Modifier and Type | Interface and Description |
---|---|
interface |
BeanEntry<Q extends java.lang.annotation.Annotation,T>
Deprecated.
Replaced by
org.eclipse.sisu.BeanEntry |