Class SimpleCDI

    • Constructor Detail

      • SimpleCDI

        public SimpleCDI()
      • SimpleCDI

        public SimpleCDI​(Container container)
    • Method Detail

      • unsatisfiedBeanManager

        protected BeanManagerImpl unsatisfiedBeanManager​(String callerClassName)
        Callback that allows to override the behavior when CDI.current() is not called from within a bean archive.
      • ambiguousBeanManager

        protected BeanManagerImpl ambiguousBeanManager​(String callerClassName,
                                                       Set<BeanManagerImpl> managers)
        Callback that allows to override the behavior when class that invoked CDI.current() is placed in multiple bean archives.
      • getBeanManager

        public BeanManagerProxy getBeanManager()
        Description copied from class: CDI
        Get the CDI BeanManager for the current context
        Specified by:
        getBeanManager in class CDI<Object>
        Returns:
        the BeanManager
      • getContainer

        protected Container getContainer()
      • cleanup

        public void cleanup()