use of org.eclipse.jnosql.mapping.keyvalue.reactive.ReactiveKeyValueTemplateProducer in project jnosql-diana by eclipse.
the class ReactiveKeyValueManagerConverter method success.
@Override
protected ReactiveKeyValueTemplate success(String value) {
Config config = BeanManagers.getInstance(Config.class);
final KeyValueTemplate template = config.getValue(value, KeyValueTemplate.class);
ReactiveKeyValueTemplateProducer producer = BeanManagers.getInstance(ReactiveKeyValueTemplateProducer.class);
return producer.get(template);
}
use of org.eclipse.jnosql.mapping.keyvalue.reactive.ReactiveKeyValueTemplateProducer in project jnosql-diana by eclipse.
the class ReactiveTemplateBean method create.
@Override
public ReactiveKeyValueTemplate create(CreationalContext<ReactiveKeyValueTemplate> creationalContext) {
ReactiveKeyValueTemplateProducer producer = getInstance(ReactiveKeyValueTemplateProducer.class);
KeyValueTemplate template = getManager();
return producer.get(template);
}
Aggregations