use of jakarta.nosql.mapping.column.ColumnTemplateProducer in project jnosql-diana by eclipse.
the class ColumnTemplateConverter method success.
@Override
public ColumnTemplate success(String value) {
Config config = BeanManagers.getInstance(Config.class);
final ColumnFamilyManager manager = config.getValue(value, ColumnFamilyManager.class);
ColumnTemplateProducer producer = BeanManagers.getInstance(ColumnTemplateProducer.class);
return producer.get(manager);
}
use of jakarta.nosql.mapping.column.ColumnTemplateProducer in project jnosql-diana by eclipse.
the class ReactiveTemplateBean method create.
@Override
public ReactiveColumnTemplate create(CreationalContext<ReactiveColumnTemplate> context) {
ColumnTemplateProducer producer = getInstance(ColumnTemplateProducer.class);
ColumnFamilyManager manager = getManager();
return producer.get(manager);
}
use of jakarta.nosql.mapping.column.ColumnTemplateProducer in project jnosql-diana by eclipse.
the class TemplateBean method create.
@Override
public ColumnTemplate create(CreationalContext<ColumnTemplate> context) {
ColumnTemplateProducer producer = getInstance(ColumnTemplateProducer.class);
ColumnFamilyManager columnFamilyManager = getColumnFamilyManager();
return producer.get(columnFamilyManager);
}
Aggregations