private String generateBeanName(Object instance, String prefix) { return generateBeanName(instance, prefix, null, false); }
private void processIntegrationComponentSpec(String beanName, IntegrationComponentSpec<?, ?> bean) { Object target = bean.get(); invokeBeanInitializationHooks(beanName, target); if (bean instanceof ComponentsRegistration) { Map<Object, String> componentsToRegister = ((ComponentsRegistration) bean).getComponentsToRegister(); if (!CollectionUtils.isEmpty(componentsToRegister)) { componentsToRegister.entrySet() .stream() .filter(component -> noBeanPresentForComponent(component.getKey(), beanName)) .forEach(component -> registerComponent(component.getKey(), generateBeanName(component.getKey(), component.getValue()))); } } }
id = generateBeanName(endpoint, flowNamePrefix, entry.getValue(), useFlowIdAsPrefix); String handlerBeanName = generateBeanName(messageHandler, flowNamePrefix); .forEach(o -> registerComponent(o.getKey(), generateBeanName(o.getKey(), flowNamePrefix, o.getValue(), useFlowIdAsPrefix))); String id = spec.getId(); if (id == null) { id = generateBeanName(pollingChannelAdapterFactoryBean, flowNamePrefix, entry.getValue(), useFlowIdAsPrefix); generateBeanName(component, flowNamePrefix, entry.getValue(), useFlowIdAsPrefix);
private String generateBeanName(Object instance, String prefix) { return generateBeanName(instance, prefix, null, false); }
private void processIntegrationComponentSpec(String beanName, IntegrationComponentSpec<?, ?> bean) { Object target = bean.get(); invokeBeanInitializationHooks(beanName, target); if (bean instanceof ComponentsRegistration) { Map<Object, String> componentsToRegister = ((ComponentsRegistration) bean).getComponentsToRegister(); if (!CollectionUtils.isEmpty(componentsToRegister)) { componentsToRegister.entrySet() .stream() .filter(component -> noBeanPresentForComponent(component.getKey(), beanName)) .forEach(component -> registerComponent(component.getKey(), generateBeanName(component.getKey(), component.getValue()))); } } }
id = generateBeanName(endpoint, flowNamePrefix, entry.getValue(), useFlowIdAsPrefix); String handlerBeanName = generateBeanName(messageHandler, flowNamePrefix); .forEach(o -> registerComponent(o.getKey(), generateBeanName(o.getKey(), flowNamePrefix, o.getValue(), useFlowIdAsPrefix))); String id = spec.getId(); if (id == null) { id = generateBeanName(pollingChannelAdapterFactoryBean, flowNamePrefix, entry.getValue(), useFlowIdAsPrefix); generateBeanName(component, flowNamePrefix, entry.getValue(), useFlowIdAsPrefix);