T - public abstract class AbstractCDI<T> extends CDI<T>
getCallingClassName() method.| Modifier and Type | Field and Description |
|---|---|
protected java.util.Set<java.lang.String> |
knownClassNames |
configuredProvider, discoveredProviders| Constructor and Description |
|---|
AbstractCDI() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy(T instance) |
T |
get() |
protected java.lang.String |
getCallingClassName()
Examines
StackTraceElements to figure out which class invoked a method on CDI. |
protected Instance<T> |
getInstance()
Subclasses are allowed to override the default behavior, i.e.
|
boolean |
isAmbiguous() |
boolean |
isUnsatisfied() |
java.util.Iterator<T> |
iterator() |
Instance<T> |
select(java.lang.annotation.Annotation... qualifiers) |
<U extends T> |
select(java.lang.Class<U> subtype,
java.lang.annotation.Annotation... qualifiers) |
<U extends T> |
select(TypeLiteral<U> subtype,
java.lang.annotation.Annotation... qualifiers) |
current, getBeanManager, setCDIProviderpublic java.util.Iterator<T> iterator()
public T get()
public <U extends T> Instance<U> select(java.lang.Class<U> subtype, java.lang.annotation.Annotation... qualifiers)
public <U extends T> Instance<U> select(TypeLiteral<U> subtype, java.lang.annotation.Annotation... qualifiers)
public boolean isUnsatisfied()
public boolean isAmbiguous()
public void destroy(T instance)
protected java.lang.String getCallingClassName()
StackTraceElements to figure out which class invoked a method on CDI.Copyright © 2015. All Rights Reserved.