public class LifeCycleModule
extends com.google.inject.AbstractModule
PostConstruct after
injection, and Associate PreDestroy with a global Closer object.
Stage#PRODUCTION and execute the bound
ExecutionList prior to using any other objects.
Ex.
| Constructor and Description |
|---|
LifeCycleModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindPostInjectionInvoke(Closer closer,
com.google.common.util.concurrent.ExecutionList list) |
protected void |
configure() |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected void configure()
configure in class com.google.inject.AbstractModuleprotected void bindPostInjectionInvoke(Closer closer, com.google.common.util.concurrent.ExecutionList list)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.