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 Summary
Constructors Constructor Description EmptyMapStorage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MapKeycloakTransaction<V,M>
createTransaction(KeycloakSession session)
Creates aMapKeycloakTransaction
object that tracks a new transaction related to this storage.static <V extends AbstractEntity,M>
EmptyMapStorage<V,M>getInstance()
-
-
-
Method Detail
-
getInstance
public static <V extends AbstractEntity,M> EmptyMapStorage<V,M> getInstance()
-
createTransaction
public MapKeycloakTransaction<V,M> createTransaction(KeycloakSession session)
Description copied from interface:MapStorage
Creates aMapKeycloakTransaction
object 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:
createTransaction
in interfaceMapStorage<V extends AbstractEntity,M>
- Returns:
- See description. Never returns
null
-
-