registerBeanLock.lock(); flowId = generateBeanName(integrationFlow, null); builder.id(flowId);
registerBeanLock.lock(); flowId = generateBeanName(integrationFlow, null); builder.id(flowId);
/** * Add an object which will be registered as an {@link IntegrationFlow} dependant bean in the * application context. Usually it is some support component, which needs an application context. * For example dynamically created connection factories or header mappers for AMQP, JMS, TCP etc. * @param bean an additional arbitrary bean to register into the application context. * @return the current builder instance */ @Override public StandardIntegrationFlowRegistrationBuilder addBean(Object bean) { return addBean(null, bean); }
/** * Associate provided {@link IntegrationFlow} with an {@link StandardIntegrationFlowRegistrationBuilder} * for additional options and farther registration in the application context. * @param integrationFlow the {@link IntegrationFlow} to register * @return the IntegrationFlowRegistrationBuilder associated with the provided {@link IntegrationFlow} */ @Override public StandardIntegrationFlowRegistrationBuilder registration(IntegrationFlow integrationFlow) { return new StandardIntegrationFlowRegistrationBuilder(integrationFlow); }
/** * Add an object which will be registered as an {@link IntegrationFlow} dependant bean in the * application context. Usually it is some support component, which needs an application context. * For example dynamically created connection factories or header mappers for AMQP, JMS, TCP etc. * @param bean an additional arbitrary bean to register into the application context. * @return the current builder instance */ @Override public StandardIntegrationFlowRegistrationBuilder addBean(Object bean) { return addBean(null, bean); }
/** * Associate provided {@link IntegrationFlow} with an {@link StandardIntegrationFlowRegistrationBuilder} * for additional options and farther registration in the application context. * @param integrationFlow the {@link IntegrationFlow} to register * @return the IntegrationFlowRegistrationBuilder associated with the provided {@link IntegrationFlow} */ @Override public StandardIntegrationFlowRegistrationBuilder registration(IntegrationFlow integrationFlow) { return new StandardIntegrationFlowRegistrationBuilder(integrationFlow); }