Package org.eclipse.sisu.bean
Class LifecycleModule
- java.lang.Object
-
- org.eclipse.sisu.bean.LifecycleModule
-
- All Implemented Interfaces:
com.google.inject.Module
public final class LifecycleModule extends java.lang.Object implements com.google.inject.ModuleGuiceModulethat provides lifecycle management by followingPostConstructandPreDestroyannotations, or corresponding JSR250PostConstructandPreDestroyannotations. The lifecycle can be controlled with the associatedBeanManager.
-
-
Constructor Summary
Constructors Constructor Description LifecycleModule()LifecycleModule(BeanManager manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(com.google.inject.Binder binder)
-
-
-
Constructor Detail
-
LifecycleModule
public LifecycleModule()
-
LifecycleModule
public LifecycleModule(BeanManager manager)
-
-