Package org.eclipse.sisu.bean
Class LifecycleModule
java.lang.Object
org.eclipse.sisu.bean.LifecycleModule
- All Implemented Interfaces:
com.google.inject.Module
Guice
Module that provides JSR250 lifecycle management by following PostConstruct and
PreDestroy annotations. The lifecycle can be controlled with the associated BeanManager.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final BeanManagerprivate final com.google.inject.matcher.Matcher<com.google.inject.TypeLiteral<?>> private final com.google.inject.spi.TypeListener -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
matcher
private final com.google.inject.matcher.Matcher<com.google.inject.TypeLiteral<?>> matcher -
typeListener
private final com.google.inject.spi.TypeListener typeListener -
manager
-
-
Constructor Details
-
LifecycleModule
public LifecycleModule() -
LifecycleModule
-
-
Method Details
-
configure
public void configure(com.google.inject.Binder binder) - Specified by:
configurein interfacecom.google.inject.Module
-