configuredProvider, discoveredProviders| Constructor and Description |
|---|
TestCDI() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy(java.lang.Object instance) |
java.lang.Object |
get() |
BeanManager |
getBeanManager() |
boolean |
isAmbiguous() |
boolean |
isUnsatisfied() |
java.util.Iterator<java.lang.Object> |
iterator() |
Instance<java.lang.Object> |
select(java.lang.annotation.Annotation... qualifiers) |
<U> Instance<U> |
select(java.lang.Class<U> subtype,
java.lang.annotation.Annotation... qualifiers) |
<U> Instance<U> |
select(TypeLiteral<U> subtype,
java.lang.annotation.Annotation... qualifiers) |
static void |
unsetCDIProvider()
WORKAROUND - it's not possible to unset the CDIProvider via
CDI.setCDIProvider(javax.enterprise.inject.spi.CDIProvider) but it's possible to set the field
value directly in a subclass. |
current, setCDIProviderpublic static void unsetCDIProvider()
CDI.setCDIProvider(javax.enterprise.inject.spi.CDIProvider) but it's possible to set the field
value directly in a subclass. However, it was probably not intended for the subclass to be able to do this.public Instance<java.lang.Object> select(java.lang.annotation.Annotation... qualifiers)
public <U> Instance<U> select(java.lang.Class<U> subtype, java.lang.annotation.Annotation... qualifiers)
public <U> Instance<U> select(TypeLiteral<U> subtype, java.lang.annotation.Annotation... qualifiers)
public boolean isUnsatisfied()
public boolean isAmbiguous()
public void destroy(java.lang.Object instance)
public java.util.Iterator<java.lang.Object> iterator()
public java.lang.Object get()
public BeanManager getBeanManager()
getBeanManager in class CDI<java.lang.Object>Copyright © 2014. All Rights Reserved.