Class JpaDelegateProvider<T extends JpaRootEntity & AbstractEntity>
java.lang.Object
org.keycloak.models.map.storage.jpa.JpaDelegateProvider<T>
- Direct Known Subclasses:
JpaClientDelegateProvider,JpaClientScopeDelegateProvider,JpaGroupDelegateProvider,JpaLockDelegateProvider,JpaPermissionDelegateProvider,JpaPolicyDelegateProvider,JpaRealmDelegateProvider,JpaResourceDelegateProvider,JpaResourceServerDelegateProvider,JpaRoleDelegateProvider,JpaRootAuthenticationSessionDelegateProvider,JpaScopeDelegateProvider,JpaUserDelegateProvider,JpaUserLoginFailureDelegateProvider
Base class for all delegate providers for the JPA storage.
Wraps the delegate so that it can be safely updated during lazy loading.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Tprotected voidsetDelegate(T newDelegate) Validates the new entity.
-
Constructor Details
-
JpaDelegateProvider
-
-
Method Details
-
getDelegate
-
setDelegate
Validates the new entity. Will throwModelIllegalStateExceptionif the entity has been deleted or changed in the meantime.
-