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.Module
GuiceModule
that provides lifecycle management by followingPostConstruct
andPreDestroy
annotations, or corresponding JSR250PostConstruct
andPreDestroy
annotations. 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 void
configure(com.google.inject.Binder binder)
-
-
-
Constructor Detail
-
LifecycleModule
public LifecycleModule()
-
LifecycleModule
public LifecycleModule(BeanManager manager)
-
-