/** * Public default constructor. * @param beanId The beanId under which the bean instance is registered in the bean context. * @param beanClass The bean runtime class. */ public <T> BeanInstanceCreator(String beanId, Class<T> beanClass, Factory<? extends T> factory) { AssertArgument.isNotNull(beanId, "beanId"); AssertArgument.isNotNull(beanClass, "beanClass"); this.beanIdName = beanId; this.beanClassName = toClassName(beanClass); this.factory = factory; }