add definition overriden by constructor
add a not successful trial of BeanFactory about programmatical config