open fun canProduce(type: KClass<*>): Boolean
Indicates whether this BeanDefinition will produce a bean of the given type (or a subtype).
type - the type to compare with the bean's type
Return
true, if the desired type is assignable from the bean's type, false
otherwise