org.infinispan.marshall.jboss
Class ExternalizerTable
java.lang.Object
org.infinispan.marshall.jboss.ExternalizerTable
- All Implemented Interfaces:
- org.jboss.marshalling.ObjectTable
public class ExternalizerTable
- extends Object
- implements org.jboss.marshalling.ObjectTable
The externalizer table maintains information necessary to be able to map a particular type with the corresponding
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.
- Since:
- 5.0
- Author:
- Galder ZamarreƱo
Nested classes/interfaces inherited from interface org.jboss.marshalling.ObjectTable |
org.jboss.marshalling.ObjectTable.Writer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalizerTable
public ExternalizerTable()
inject
public void inject(RemoteCommandsFactory cmdFactory,
GlobalComponentRegistry gcr,
StreamingMarshaller globalMarshaller)
start
public void start()
stop
public void stop()
getObjectWriter
public org.jboss.marshalling.ObjectTable.Writer getObjectWriter(Object o)
throws IOException
- Specified by:
getObjectWriter
in interface org.jboss.marshalling.ObjectTable
- Throws:
IOException
readObject
public Object readObject(org.jboss.marshalling.Unmarshaller input)
throws IOException,
ClassNotFoundException
- Specified by:
readObject
in interface org.jboss.marshalling.ObjectTable
- Throws:
IOException
ClassNotFoundException
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.