Class LifecycleModule

java.lang.Object
org.eclipse.sisu.bean.LifecycleModule
All Implemented Interfaces:
com.google.inject.Module

public final class LifecycleModule extends Object implements com.google.inject.Module
Guice Module that provides lifecycle management by following PostConstruct and PreDestroy annotations, or corresponding JSR250 PostConstruct and PreDestroy annotations. The lifecycle can be controlled with the associated BeanManager.
  • Constructor Details

    • LifecycleModule

      public LifecycleModule()
    • LifecycleModule

      public LifecycleModule(BeanManager manager)
  • Method Details

    • configure

      public void configure(com.google.inject.Binder binder)
      Specified by:
      configure in interface com.google.inject.Module