com.google.inject.Modulepublic 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 | Description |
|---|---|
LifecycleModule() |
|
LifecycleModule(BeanManager manager) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
configure(com.google.inject.Binder binder) |
public LifecycleModule()
public LifecycleModule(BeanManager manager)