configuredProvider, discoveredProviders| Constructor and Description |
|---|
TestCDI() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy(Object instance) |
Object |
get() |
BeanManager |
getBeanManager() |
boolean |
isAmbiguous() |
boolean |
isUnsatisfied() |
Iterator<Object> |
iterator() |
Instance<Object> |
select(Annotation... qualifiers) |
<U> Instance<U> |
select(Class<U> subtype,
Annotation... qualifiers) |
<U> Instance<U> |
select(TypeLiteral<U> subtype,
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<Object> select(Annotation... qualifiers)
public <U> Instance<U> select(Class<U> subtype, Annotation... qualifiers)
public <U> Instance<U> select(TypeLiteral<U> subtype, Annotation... qualifiers)
public boolean isUnsatisfied()
public boolean isAmbiguous()
public void destroy(Object instance)
public Object get()
public BeanManager getBeanManager()
getBeanManager in class CDI<Object>Copyright © 2014 Seam Framework. All Rights Reserved.