/** * Constructor; supply delegate. */ public StoreCacheImpl(EntityManagerFactoryImpl emf, DataCache cache) { _repos = emf.getConfiguration().getMetaDataRepositoryInstance(); _cache = new DelegatingDataCache(cache, PersistenceExceptions.TRANSLATOR); }
/** * Constructor; supply delegate. */ public StoreCacheImpl(EntityManagerFactoryImpl emf, DataCache cache) { _repos = emf.getConfiguration().getMetaDataRepositoryInstance(); _cache = new DelegatingDataCache(cache, PersistenceExceptions.TRANSLATOR); }
/** * Constructor; supply delegate. */ public StoreCacheImpl(EntityManagerFactoryImpl emf, DataCache cache) { _repos = emf.getConfiguration().getMetaDataRepositoryInstance(); _cache = new DelegatingDataCache(cache, PersistenceExceptions.TRANSLATOR); }
/** * Constructor; supply delegate. */ public StoreCacheImpl(EntityManagerFactoryImpl emf, DataCache cache) { _repos = emf.getConfiguration().getMetaDataRepositoryInstance(); _cache = new DelegatingDataCache(cache, PersistenceExceptions.TRANSLATOR); }
/** * Constructor; supply delegate. */ public StoreCacheImpl(EntityManagerFactoryImpl emf, DataCache cache) { _repos = emf.getConfiguration().getMetaDataRepositoryInstance(); _cache = new DelegatingDataCache(cache, PersistenceExceptions.TRANSLATOR); }