Class EmptyMapStorage<V extends AbstractEntity,M>
- java.lang.Object
- 
- org.keycloak.models.map.storage.tree.EmptyMapStorage<V,M>
 
- 
- All Implemented Interfaces:
- MapStorage<V,M>
 
 public class EmptyMapStorage<V extends AbstractEntity,M> extends Object implements MapStorage<V,M> - Author:
- hmlnarik
 
- 
- 
Constructor SummaryConstructors Constructor Description EmptyMapStorage()
 - 
Method SummaryAll Methods Static 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.static <V extends AbstractEntity,M>
 EmptyMapStorage<V,M>getInstance()
 
- 
- 
- 
Method Detail- 
getInstancepublic static <V extends AbstractEntity,M> EmptyMapStorage<V,M> getInstance() 
 - 
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,M>
- Returns:
- See description. Never returns null
 
 
- 
 
-