Class FileMapStorage<V extends AbstractEntity & UpdatableEntity,​M>

    • Method Detail

      • createTransaction

        public MapKeycloakTransaction<V,​M> createTransaction​(KeycloakSession session)
        Description copied from interface: MapStorage
        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.
        Specified by:
        createTransaction in interface MapStorage<V extends AbstractEntity & UpdatableEntity,​M>
        See description. Never returns null