public static RegisterableItemsFactory getFactory(BeanManager beanManager, AbstractAuditLogger auditlogger) {
        InjectableRegisterableItemsFactory instance = getInstanceByType(beanManager, InjectableRegisterableItemsFactory.class, new Annotation[]{});
        instance.setAuditlogger(auditlogger);
        return instance;
    }
public static RegisterableItemsFactory getFactory ( BeanManager beanManager , AbstractAuditLogger auditlogger ) { InjectableRegisterableItemsFactory instance = getInstanceByType ( beanManager , InjectableRegisterableItemsFactory . class , new Annotation [ ] { } ) ; instance . setAuditlogger ( auditlogger ) ; return instance ; }
Allows us to create an 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 auditlogger - <code>AbstractAuditLogger</code> logger instance to be used, might be null
@return new instance of the factory