public class AssociationKeyExternalizer extends Object implements org.infinispan.commons.marshall.AdvancedExternalizer<AssociationKey>
AssociationKey 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
InfinispanDatastoreProvider, so it's not required to configure the externalizer in the Infinispan
configuration file.
| Modifier and Type | Field and Description |
|---|---|
static AssociationKeyExternalizer |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getId() |
Set<Class<? extends AssociationKey>> |
getTypeClasses() |
AssociationKey |
readObject(ObjectInput input) |
void |
writeObject(ObjectOutput output,
AssociationKey key) |
public static final AssociationKeyExternalizer INSTANCE
public void writeObject(ObjectOutput output, AssociationKey key) throws IOException
writeObject in interface org.infinispan.commons.marshall.Externalizer<AssociationKey>IOExceptionpublic AssociationKey readObject(ObjectInput input) throws IOException, ClassNotFoundException
readObject in interface org.infinispan.commons.marshall.Externalizer<AssociationKey>IOExceptionClassNotFoundExceptionpublic Set<Class<? extends AssociationKey>> getTypeClasses()
getTypeClasses in interface org.infinispan.commons.marshall.AdvancedExternalizer<AssociationKey>public Integer getId()
getId in interface org.infinispan.commons.marshall.AdvancedExternalizer<AssociationKey>Copyright © 2010-2014 Hibernate. All Rights Reserved.