/** * Configure the component identifier. Used as the {@code beanName} to register the * bean in the application context for this component. * @param id the id. * @return the spec. */ protected S id(String id) { this.id = id; return _this(); }
/** * @return the configured component. */ public final T get() { if (this.target == null) { this.target = doGet(); } return this.target; }
@Override public T getObject() throws Exception { return get(); }
@Override protected S id(String id) { return super.id(id); }
@Override protected S id(String id) { return super.id(id); }
@Override public S id(String id) { this.endpointFactoryBean.setBeanName(id); return super.id(id); }
@Override public T getObject() throws Exception { return get(); }
/** * Configure the component identifier. Used as the {@code beanName} to register the * bean in the application context for this component. * @param id the id. * @return the spec. */ protected S id(String id) { this.id = id; return _this(); }
/** * @return the configured component. */ public final T get() { if (this.target == null) { this.target = doGet(); } return this.target; }
@Override public S id(String id) { this.target.setBeanName(id); return super.id(id); }
@Override public Class<?> getObjectType() { return get().getClass(); }
@Override public S id(String id) { this.endpointFactoryBean.setBeanName(id); return super.id(id); }
@Override public Class<?> getObjectType() { return get().getClass(); }
@Override public S id(String id) { this.target.setBeanName(id); return super.id(id); }
private void processIntegrationComponentSpec(IntegrationComponentSpec<?, ?> bean) { registerComponent(bean.get(), generateBeanName(bean.get()), null, false); if (bean instanceof ComponentsRegistration) { Collection<Object> componentsToRegister = ((ComponentsRegistration) bean).getComponentsToRegister(); if (!CollectionUtils.isEmpty(componentsToRegister)) { for (Object component : componentsToRegister) { if (!this.beanFactory.getBeansOfType(component.getClass(), false, false) .values() .contains(component)) { registerComponent(component, generateBeanName(component)); } } } } }
/** * {@inheritDoc} * Configure the message producer's bean name. */ @Override public S id(String id) { this.target.setBeanName(id); return super.id(id); }
private void processIntegrationComponentSpec(IntegrationComponentSpec<?, ?> bean) { registerComponent(bean.get(), generateBeanName(bean.get()), null, false); if (bean instanceof ComponentsRegistration) { Collection<Object> componentsToRegister = ((ComponentsRegistration) bean).getComponentsToRegister(); if (!CollectionUtils.isEmpty(componentsToRegister)) { for (Object component : componentsToRegister) { if (!this.beanFactory.getBeansOfType(component.getClass(), false, false) .values() .contains(component)) { registerComponent(component, generateBeanName(component)); } } } } }
/** * {@inheritDoc} * Configure the message producer's bean name. */ @Override public S id(String id) { this.target.setBeanName(id); return super.id(id); }