@Module public final class InstanceImpl<T> extends java.lang.Object implements java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Returns an instance of the selected bean
|
boolean |
isAmbiguous() |
boolean |
isUnsatisfied() |
java.util.Iterator<T> |
iterator() |
<U extends T> |
select(<any> subtype,
java.lang.annotation.Annotation... bindings)
Restricts the instance to a subtype and bindings.
|
<any> |
select(java.lang.annotation.Annotation... bindings)
Restricts the instance given a set of bindings
|
<U extends T> |
select(java.lang.Class<U> subtype,
java.lang.annotation.Annotation... bindings)
Restricts the instance to a subtype and bindings.
|
java.lang.String |
toString() |
public T get()
public <any> select(java.lang.annotation.Annotation... bindings)
public <U extends T> <any> select(java.lang.Class<U> subtype, java.lang.annotation.Annotation... bindings)
public <U extends T> <any> select(<any> subtype, java.lang.annotation.Annotation... bindings)
public java.util.Iterator<T> iterator()
public boolean isAmbiguous()
public boolean isUnsatisfied()
public java.lang.String toString()
toString in class java.lang.Object