Class GuiceLifecycleModule
java.lang.Object
com.google.inject.AbstractModule
com.peterphi.std.guice.common.lifecycle.GuiceLifecycleModule
- All Implemented Interfaces:
com.google.inject.Module
public class GuiceLifecycleModule
extends com.google.inject.AbstractModule
Hooks into guice so that when objects implementing
GuiceLifecycleListener
are
provisioned the GuiceLifecycleListener.postConstruct()
method is called-
Constructor Summary
-
Method Summary
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
GuiceLifecycleModule
public GuiceLifecycleModule()
-
-
Method Details
-
configure
protected void configure()- Overrides:
configure
in classcom.google.inject.AbstractModule
-