use of org.springframework.beans.factory.config.ObjectFactoryCreatingFactoryBean in project hono by eclipse.
the class HonoMessagingApplicationConfig method honoServerFactory.
/**
* Exposes a factory for Hono Messaging instances as a Spring bean.
*
* @return The factory.
*/
@Bean
public ObjectFactoryCreatingFactoryBean honoServerFactory() {
ObjectFactoryCreatingFactoryBean factory = new ObjectFactoryCreatingFactoryBean();
factory.setTargetBeanName(BEAN_NAME_HONO_MESSAGING);
return factory;
}
use of org.springframework.beans.factory.config.ObjectFactoryCreatingFactoryBean in project hono by eclipse.
the class Config method serviceFactory.
/**
* Exposes a factory for creating HTTP adapter instances.
*
* @return The factory bean.
*/
@Bean
public ObjectFactoryCreatingFactoryBean serviceFactory() {
ObjectFactoryCreatingFactoryBean factory = new ObjectFactoryCreatingFactoryBean();
factory.setTargetBeanName(BEAN_NAME_VERTX_BASED_HTTP_PROTOCOL_ADAPTER);
return factory;
}
use of org.springframework.beans.factory.config.ObjectFactoryCreatingFactoryBean in project hono by eclipse.
the class Config method serviceFactory.
/**
* Exposes a factory for creating MQTT adapter instances.
*
* @return The factory bean.
*/
@Bean
public ObjectFactoryCreatingFactoryBean serviceFactory() {
ObjectFactoryCreatingFactoryBean factory = new ObjectFactoryCreatingFactoryBean();
factory.setTargetBeanName(BEAN_NAME_KURA_PROTOCOL_ADAPTER);
return factory;
}
use of org.springframework.beans.factory.config.ObjectFactoryCreatingFactoryBean in project hono by eclipse.
the class Config method serviceFactory.
/**
* Exposes a factory for creating MQTT adapter instances.
*
* @return The factory bean.
*/
@Bean
public ObjectFactoryCreatingFactoryBean serviceFactory() {
ObjectFactoryCreatingFactoryBean factory = new ObjectFactoryCreatingFactoryBean();
factory.setTargetBeanName(BEAN_NAME_VERTX_BASED_MQTT_PROTOCOL_ADAPTER);
return factory;
}
use of org.springframework.beans.factory.config.ObjectFactoryCreatingFactoryBean in project hono by eclipse.
the class ApplicationConfig method authServerFactory.
/**
* Exposes a factory for Authentication Server instances as a Spring bean.
*
* @return The factory.
*/
@Bean
public ObjectFactoryCreatingFactoryBean authServerFactory() {
ObjectFactoryCreatingFactoryBean factory = new ObjectFactoryCreatingFactoryBean();
factory.setTargetBeanName(BEAN_NAME_SIMPLE_AUTHENTICATION_SERVER);
return factory;
}
Aggregations