public class ExternalizerTable extends Object implements org.jboss.marshalling.ObjectTable
AdvancedExternalizer
implementation that it marshall, and it also keeps information of which AdvancedExternalizer
should be used to read data from a buffer given a particular AdvancedExternalizer
identifier.
These tables govern how either internal Infinispan classes, or user defined classes, are marshalled to a given
output, or how these are unmarshalled from a given input.Constructor and Description |
---|
ExternalizerTable() |
Modifier and Type | Method and Description |
---|---|
org.jboss.marshalling.ObjectTable.Writer |
getObjectWriter(Object o) |
void |
inject(RemoteCommandsFactory cmdFactory,
GlobalComponentRegistry gcr,
StreamingMarshaller globalMarshaller) |
Object |
readObject(org.jboss.marshalling.Unmarshaller input) |
void |
start() |
void |
stop() |
public void inject(RemoteCommandsFactory cmdFactory, GlobalComponentRegistry gcr, StreamingMarshaller globalMarshaller)
public void start()
public void stop()
public org.jboss.marshalling.ObjectTable.Writer getObjectWriter(Object o) throws IOException
getObjectWriter
in interface org.jboss.marshalling.ObjectTable
IOException
public Object readObject(org.jboss.marshalling.Unmarshaller input) throws IOException, ClassNotFoundException
readObject
in interface org.jboss.marshalling.ObjectTable
IOException
ClassNotFoundException
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.