Interface MapStorage<V extends AbstractEntity,​M>

    • Method Detail

      • createTransaction

        MapKeycloakTransaction<V,​M> createTransaction​(KeycloakSession session)
        Creates a MapKeycloakTransaction 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.
        See description. Never returns null