use of jakarta.nosql.mapping.keyvalue.KeyValueTemplateProducer in project jnosql-diana by eclipse.
the class TemplateBean method create.
@Override
public KeyValueTemplate create(CreationalContext<KeyValueTemplate> creationalContext) {
KeyValueTemplateProducer producer = getInstance(KeyValueTemplateProducer.class);
BucketManager manager = getManager();
return producer.get(manager);
}
use of jakarta.nosql.mapping.keyvalue.KeyValueTemplateProducer in project jnosql-diana by eclipse.
the class KeyValueTemplateConverter method success.
@Override
public KeyValueTemplate success(String value) {
Config config = BeanManagers.getInstance(Config.class);
final BucketManager manager = config.getValue(value, BucketManager.class);
KeyValueTemplateProducer producer = BeanManagers.getInstance(KeyValueTemplateProducer.class);
return producer.get(manager);
}
Aggregations