public final class RepositoryFactory
extends java.lang.Object
A factory class to open a ObjectRepository.
| Modifier and Type | Method and Description |
|---|---|
static <T> ObjectRepository<T> |
open(java.lang.Class<T> type,
NitriteCollection collection,
NitriteContext nitriteContext)
Opens an object repository for a specific
type. |
public static <T> ObjectRepository<T> open(java.lang.Class<T> type, NitriteCollection collection, NitriteContext nitriteContext)
Opens an object repository for a specific type.
T - the type of the object to storetype - the typecollection - the underlying NitriteCollectionnitriteContext - the nitrite context