Class InfinispanExternalizerAdapter<T>
- java.lang.Object
-
- org.keycloak.models.sessions.infinispan.entities.wildfly.InfinispanExternalizerAdapter<T>
-
- All Implemented Interfaces:
org.wildfly.clustering.marshalling.Externalizer<T>
- Direct Known Subclasses:
ActionTokenValueEntityWFExternalizer
,AuthenticatedClientSessionEntityWFExternalizer
,AuthenticatedClientSessionPredicateWFExternalizer
,AuthenticatedClientSessionStoreWFExternalizer
,AuthenticationSessionAuthNoteUpdateEventWFExternalizer
,AuthenticationSessionEntityWFExternalizer
,ClientAddedEventWFExternalizer
,ClientRemovedEventWFExternalizer
,ClientRemovedSessionEventWFExternalizer
,ClientTemplateEventWFExternalizer
,ClientUpdatedEventWFExternalizer
,GroupAddedEventWFExternalizer
,GroupListPredicateWFExternalizer
,GroupMovedEventWFExternalizer
,GroupRemovedEventWFExternalizer
,GroupUpdatedEventWFExternalizer
,HasRolePredicateWFExternalizer
,InClientPredicateWFExternalizer
,InIdentityProviderPredicateWFExternalizer
,InitializerStateWFExternalizer
,InRealmPredicateWFExternalizer
,InResourcePredicateWFExternalizer
,InResourceServerPredicateWFExternalizer
,InScopePredicateWFExternalizer
,LastSessionRefreshEventWFExternalizer
,LockEntryPredicateWFExternalizer
,LockEntryWFExternalizer
,LoginFailureEntityWFExternalizer
,LoginFailureKeyWFExternalizer
,PolicyRemovedEventWFExternalizer
,PolicyUpdatedEventWFExternalizer
,PublicKeyStorageInvalidationEventWFExternalizer
,RealmRemovedEventWFExternalizer
,RealmRemovedSessionEventWFExternalizer
,RealmUpdatedEventWFExternalizer
,RemoveAllUserLoginFailuresEventWFExternalizer
,RemoveUserSessionsEventWFExternalizer
,ResourceRemovedEventWFExternalizer
,ResourceServerRemovedEventWFExternalizer
,ResourceServerUpdatedEventWFExternalizer
,ResourceUpdatedEventWFExternalizer
,RoleAddedEventWFExternalizer
,RoleRemovedEventWFExternalizer
,RoleUpdatedEventWFExternalizer
,RootAuthenticationSessionEntityWFExternalizer
,RootAuthenticationSessionPredicateWFExternalizer
,ScopeRemovedEventWFExternalizer
,ScopeUpdatedEventWFExternalizer
,SessionDataWFExternalizer
,SessionEntityWrapperWFExternalizer
,SessionPredicateWFExternalizer
,UserCacheRealmInvalidationEventWFExternalizer
,UserConsentsUpdatedEventWFExternalizer
,UserFederationLinkRemovedEventWFExternalizer
,UserFederationLinkUpdatedEventWFExternalizer
,UserFullInvalidationEventWFExternalizer
,UserLoginFailurePredicateWFExternalizer
,UserSessionEntityWFExternalizer
,UserSessionPredicateWFExternalizer
,UserUpdatedEventWFExternalizer
,WrapperClusterEventWFExternalizer
public abstract class InfinispanExternalizerAdapter<T> extends Object implements org.wildfly.clustering.marshalling.Externalizer<T>
Abstract subclass for Wildfly externalizers. It is adapter fromExternalizer
toExternalizer
TODO: Remove this class (and probably whole package org.keycloak.models.sessions.infinispan.entities.wildfly once migrating to Wildfly 21 and infinispan protobuf marshallers)- Author:
- Marek Posolda
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<T>
getTargetClass()
T
readObject(ObjectInput input)
void
writeObject(ObjectOutput output, T object)
-
-
-
Method Detail
-
writeObject
public void writeObject(ObjectOutput output, T object) throws IOException
- Specified by:
writeObject
in interfaceorg.wildfly.clustering.marshalling.Externalizer<T>
- Throws:
IOException
-
readObject
public T readObject(ObjectInput input) throws IOException, ClassNotFoundException
- Specified by:
readObject
in interfaceorg.wildfly.clustering.marshalling.Externalizer<T>
- Throws:
IOException
ClassNotFoundException
-
-