org.infinispan.marshall.jboss
Class MagicNumberClassTable

java.lang.Object
  extended by org.infinispan.marshall.jboss.MagicNumberClassTable
All Implemented Interfaces:
org.jboss.marshalling.ClassTable

@Immutable
public class MagicNumberClassTable
extends Object
implements org.jboss.marshalling.ClassTable

MagicNumberClassTable.

Since:
4.0
Author:
Galder ZamarreƱo

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.marshalling.ClassTable
org.jboss.marshalling.ClassTable.Writer
 
Constructor Summary
MagicNumberClassTable()
           
 
Method Summary
protected  org.jboss.marshalling.ClassTable.Writer createWriter(byte magicNumber)
           
 org.jboss.marshalling.ClassTable.Writer getClassWriter(Class<?> clazz)
           
 void init()
           
 Class<?> readClass(org.jboss.marshalling.Unmarshaller unmarshaller)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MagicNumberClassTable

public MagicNumberClassTable()
Method Detail

init

public void init()

stop

public void stop()

getClassWriter

public org.jboss.marshalling.ClassTable.Writer getClassWriter(Class<?> clazz)
                                                       throws IOException
Specified by:
getClassWriter in interface org.jboss.marshalling.ClassTable
Throws:
IOException

readClass

public Class<?> readClass(org.jboss.marshalling.Unmarshaller unmarshaller)
                   throws IOException,
                          ClassNotFoundException
Specified by:
readClass in interface org.jboss.marshalling.ClassTable
Throws:
IOException
ClassNotFoundException

createWriter

protected org.jboss.marshalling.ClassTable.Writer createWriter(byte magicNumber)


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.