protected BeanDefinitionBuilder getApiHelperBeanDefinitionBuilder ( Map < String , Object > allAttributes ) { return BeanDefinitionBuilder . genericBeanDefinition ( apiHelperClass ) . addConstructorArgReference ( "usersConnectionRepository" ) . addConstructorArgReference ( "userIdSource" ) ; }
Subclassing hook to allow api helper bean to be configured with attributes from annotation