Search in sources :

Example 1 with DocumentTemplateProducer

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

the class DocumentTemplateBean method create.

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

Aggregations

DocumentTemplateProducer (org.jnosql.artemis.document.DocumentTemplateProducer)1 DocumentCollectionManager (org.jnosql.diana.api.document.DocumentCollectionManager)1