/** * Returns a factory instance. * * @return the factory instance. */ @Override protected RepositoryFactorySupport createRepositoryFactory() { return getFactoryInstance(operationsMapping, indexManager); }
/** * Set the template reference. * * @param operations the reference to the operations template. */ public void setCouchbaseOperations(final CouchbaseOperations operations) { setCouchbaseOperationsMapping(new RepositoryOperationsMapping(operations)); }
public void setCouchbaseOperationsMapping(final RepositoryOperationsMapping mapping) { this.operationsMapping = mapping; setMappingContext(operationsMapping.getMappingContext()); }
/** * Set the template reference. * * @param operations the reference to the operations template. */ public void setCouchbaseOperations(final CouchbaseOperations operations) { setCouchbaseOperationsMapping(new RepositoryOperationsMapping(operations)); }
public void setCouchbaseOperationsMapping(final RepositoryOperationsMapping mapping) { this.operationsMapping = mapping; setMappingContext(operationsMapping.getMappingContext()); }
/** * Returns a factory instance. * * @return the factory instance. */ @Override protected RepositoryFactorySupport createRepositoryFactory() { return getFactoryInstance(operationsMapping, indexManager); }