Class JpaLockDelegateProvider

java.lang.Object
org.keycloak.models.map.storage.jpa.JpaDelegateProvider<JpaLockEntity>
org.keycloak.models.map.storage.jpa.lock.delegate.JpaLockDelegateProvider
All Implemented Interfaces:
DelegateProvider<MapLockEntity>

public class JpaLockDelegateProvider extends JpaDelegateProvider<JpaLockEntity> implements DelegateProvider<MapLockEntity>
A DelegateProvider implementation for JpaLockEntity.
Author:
Stefan Guilhen
  • Constructor Details

    • JpaLockDelegateProvider

      public JpaLockDelegateProvider(JpaLockEntity delegate, jakarta.persistence.EntityManager em)
  • Method Details

    • getDelegate

      public MapLockEntity getDelegate(boolean isRead, Enum<? extends EntityField<MapLockEntity>> field, Object... parameters)
      Description copied from interface: DelegateProvider
      Returns a delegate for and entity for an operation on a field.
      Specified by:
      getDelegate in interface DelegateProvider<MapLockEntity>
      Parameters:
      isRead - true when the delegate requested for a read operation, false otherwise
      field - Identification of the field this delegates operates on. While this parameter can be any object including null, if it is a known field, then it is guaranteed to be one of the EntityFields enumerated in one of the Map*EntityFields enum.
      Returns: