Thanks Craig,
It's *slowly* starting to make more sense. I seriously envy your grasp on the language/concepts.
Code:
protected BeanDefinition getConnectionFactoryBeanDefinition(String localSiteId, String appId, String appSecret, Map<String, Object> allAttributes) {
return BeanDefinitionBuilder.genericBeanDefinition(connectionFactoryClass).addConstructorArgValue(localSiteId).addConstructorArgValue(appId).addConstructorArgValue(appSecret).getBeanDefinition();
}
protected BeanDefinition getAuthenticationServiceBeanDefinition(String localSiteId, String appId, String appSecret, Map<String, Object> allAttributes) {
return BeanDefinitionBuilder.genericBeanDefinition(authenticationServiceClass).addConstructorArgValue(localSiteId).addConstructorArgValue(appId).addConstructorArgValue(appSecret).getBeanDefinition();
}