use of org.springframework.beans.factory.config.ObjectFactoryCreatingFactoryBean in project hono by eclipse.
the class ApplicationConfig method deviceRegistryRestServerFactory.
/**
* Gets a factory for creating instances of the REST based endpoint.
*
* @return The factory.
*/
@Bean
public ObjectFactoryCreatingFactoryBean deviceRegistryRestServerFactory() {
ObjectFactoryCreatingFactoryBean factory = new ObjectFactoryCreatingFactoryBean();
factory.setTargetBeanName(BEAN_NAME_DEVICE_REGISTRY_REST_SERVER);
return factory;
}
use of org.springframework.beans.factory.config.ObjectFactoryCreatingFactoryBean in project hono by eclipse.
the class ApplicationConfig method deviceRegistryAmqpServerFactory.
/**
* Gets a factory for creating instances of the AMQP 1.0 based endpoint.
*
* @return The factory.
*/
@Bean
public ObjectFactoryCreatingFactoryBean deviceRegistryAmqpServerFactory() {
ObjectFactoryCreatingFactoryBean factory = new ObjectFactoryCreatingFactoryBean();
factory.setTargetBeanName(BEAN_NAME_DEVICE_REGISTRY_AMQP_SERVER);
return factory;
}
Aggregations