public final class LifecycleModule
extends java.lang.Object
implements com.google.inject.Module
Module that provides JSR250 lifecycle management by following PostConstruct and
PreDestroy annotations. The lifecycle can be controlled with the associated BeanManager.| Constructor and Description |
|---|
LifecycleModule() |
LifecycleModule(BeanManager manager) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(com.google.inject.Binder binder) |
public LifecycleModule()
public LifecycleModule(BeanManager manager)