Search in sources :

Example 1 with DocumentTemplateAsyncProducer

use of org.jnosql.artemis.document.DocumentTemplateAsyncProducer in project jnosql-artemis by eclipse.

the class DocumentTemplateAsyncBean method create.

@Override
public DocumentTemplateAsync create(CreationalContext<DocumentTemplateAsync> creationalContext) {
    DocumentTemplateAsyncProducer producer = getInstance(DocumentTemplateAsyncProducer.class);
    DocumentCollectionManagerAsync manager = getManager();
    return producer.get(manager);
}
Also used : DocumentTemplateAsyncProducer(org.jnosql.artemis.document.DocumentTemplateAsyncProducer) DocumentCollectionManagerAsync(org.jnosql.diana.api.document.DocumentCollectionManagerAsync)

Aggregations

DocumentTemplateAsyncProducer (org.jnosql.artemis.document.DocumentTemplateAsyncProducer)1 DocumentCollectionManagerAsync (org.jnosql.diana.api.document.DocumentCollectionManagerAsync)1