Class CDIUtils


  • public class CDIUtils
    extends Object
    • Constructor Detail

      • CDIUtils

        public CDIUtils()
    • Method Detail

      • lookUpBeanManager

        public static javax.enterprise.inject.spi.BeanManager lookUpBeanManager​(org.kie.api.executor.CommandContext ctx)
      • createBean

        public static <T> T createBean​(Class<T> beanType,
                                       javax.enterprise.inject.spi.BeanManager beanManager,
                                       Annotation... bindings)
                                throws Exception
        Throws:
        Exception