Class LifecycleModule

  • All Implemented Interfaces:
    com.google.inject.Module

    public final class LifecycleModule
    extends Object
    implements 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.
    • Constructor Detail

      • LifecycleModule

        public LifecycleModule()
      • LifecycleModule

        public LifecycleModule​(BeanManager manager)
    • Method Detail

      • configure

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