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
-
Method Summary
Modifier and TypeMethodDescriptionprotected T
protected void
setDelegate
(T newDelegate) Validates the new entity.
-
Constructor Details
-
JpaDelegateProvider
-
-
Method Details
-
getDelegate
-
setDelegate
Validates the new entity. Will throwModelIllegalStateException
if the entity has been deleted or changed in the meantime.
-