protected BeanDefinition getConnectionFactoryBeanDefinition ( String appId , String appSecret , Map < String , Object > allAttributes ) { return BeanDefinitionBuilder . genericBeanDefinition ( connectionFactoryClass ) . addConstructorArgValue ( appId ) . addConstructorArgValue ( appSecret ) . getBeanDefinition ( ) ; }
Creates a BeanDefinition for a provider connection factory . Although most providers will not need to override this method it does allow for overriding to address any provider - specific needs .