code: public static RegisterableItemsFactory getFactory(BeanManager beanManager, AuditEventBuilder eventBuilder, KieContainer kieContainer, String ksessionName) {
          InjectableRegisterableItemsFactory instance = getInstanceByType(beanManager, InjectableRegisterableItemsFactory.class, new Annotation[]{});
          instance.setAuditBuilder(eventBuilder);
          instance.setKieContainer(kieContainer);
          instance.setKsessionName(ksessionName);
          return instance;
      }
docs: Allows to create instance of this class dynamically via <code>BeanManager</code>. This is useful in case multiple
  independent instances are required on runtime and that need cannot be satisfied with regular CDI practices.
  @param beanManager - bean manager instance of the container
  @param eventBuilder - <code>AbstractAuditLogger</code> logger builder instance to be used, might be null
  @param kieContainer - <code>KieContainer</code> that the factory is built for
  @param ksessionName - name of the ksession defined in kmodule to be used,
  if not given default ksession from kmodule will be used.
  @return