public class PersistentAssociationKeyExternalizer extends Object implements org.infinispan.commons.marshall.AdvancedExternalizer<PersistentAssociationKey>
EntityKey instances. Implicitly used by
InfinispanDialect which stores keys as is in the Infinispan data store.
This externalizer is automatically registered with the cache manager when starting the
InfinispanEmbeddedDatastoreProvider, so it's not required to configure the externalizer in the Infinispan
configuration file.
| Modifier and Type | Field and Description |
|---|---|
static PersistentAssociationKeyExternalizer |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getId() |
Set<Class<? extends PersistentAssociationKey>> |
getTypeClasses() |
PersistentAssociationKey |
readObject(ObjectInput input) |
void |
writeObject(ObjectOutput output,
PersistentAssociationKey key) |
public static final PersistentAssociationKeyExternalizer INSTANCE
public void writeObject(ObjectOutput output, PersistentAssociationKey key) throws IOException
writeObject in interface org.infinispan.commons.marshall.Externalizer<PersistentAssociationKey>IOExceptionpublic PersistentAssociationKey readObject(ObjectInput input) throws IOException, ClassNotFoundException
readObject in interface org.infinispan.commons.marshall.Externalizer<PersistentAssociationKey>IOExceptionClassNotFoundExceptionpublic Set<Class<? extends PersistentAssociationKey>> getTypeClasses()
getTypeClasses in interface org.infinispan.commons.marshall.AdvancedExternalizer<PersistentAssociationKey>public Integer getId()
getId in interface org.infinispan.commons.marshall.AdvancedExternalizer<PersistentAssociationKey>Copyright © 2010–2017 Hibernate. All rights reserved.