public class Cdi2GuiceModule extends com.google.inject.AbstractModule implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
Cdi2GuiceModule.GuiceContextAccessor |
| Constructor and Description |
|---|
Cdi2GuiceModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
configure() |
protected javax.enterprise.inject.se.SeContainer |
configuredContainer() |
protected void |
doClose(Runnable runnable) |
<T> T |
inject(T instance)
Injects CDI instances in this instance (@Inject on fields).
|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected void configure()
configure in class com.google.inject.AbstractModulepublic <T> T inject(T instance)
T - the type of the instance.instance - the instance to inject.public void close()
close in interface AutoCloseableprotected javax.enterprise.inject.se.SeContainer configuredContainer()
protected void doClose(Runnable runnable)
Copyright © 2018. All rights reserved.