Search in sources :

Example 1 with KeyValueTemplateProducer

use of org.jnosql.artemis.key.KeyValueTemplateProducer in project jnosql-artemis by eclipse.

the class KeyValueRepositoryBean method create.

@Override
public KeyValueTemplate create(CreationalContext<KeyValueTemplate> creationalContext) {
    KeyValueTemplateProducer producer = getInstance(KeyValueTemplateProducer.class);
    BucketManager manager = getManager();
    return producer.get(manager);
}
Also used : KeyValueTemplateProducer(org.jnosql.artemis.key.KeyValueTemplateProducer) BucketManager(org.jnosql.diana.api.key.BucketManager)

Aggregations

KeyValueTemplateProducer (org.jnosql.artemis.key.KeyValueTemplateProducer)1 BucketManager (org.jnosql.diana.api.key.BucketManager)1