Class FileMapStorage<V extends AbstractEntity & UpdatableEntity,M>
- java.lang.Object
- 
- org.keycloak.models.map.storage.file.FileMapStorage<V,M>
 
- 
- All Implemented Interfaces:
- MapStorage<V,M>
 
 public class FileMapStorage<V extends AbstractEntity & UpdatableEntity,M> extends Object implements MapStorage<V,M> A file-basedMapStorage.- Author:
- Stefan Guilhen
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classFileMapStorage.Crud<V extends AbstractEntity & UpdatableEntity,M>
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MapKeycloakTransaction<V,M>createTransaction(KeycloakSession session)Creates aMapKeycloakTransactionobject that tracks a new transaction related to this storage.FileMapKeycloakTransaction<V,M>createTransactionInternal(KeycloakSession session)
 
- 
- 
- 
Method Detail- 
createTransactionpublic MapKeycloakTransaction<V,M> createTransaction(KeycloakSession session) Description copied from interface:MapStorageCreates aMapKeycloakTransactionobject that tracks a new transaction related to this storage. In case of JPA or similar, the transaction object might be supplied by the container (via JTA) or shared same across storages accessing the same database within the same session; in other cases (e.g. plain map) a separate transaction handler might be created per each storage.- Specified by:
- createTransactionin interface- MapStorage<V extends AbstractEntity & UpdatableEntity,M>
- Returns:
- See description. Never returns null
 
 - 
createTransactionInternalpublic FileMapKeycloakTransaction<V,M> createTransactionInternal(KeycloakSession session) 
 
- 
 
-