org.qi4j.spi.util
Class SerializationUtil

java.lang.Object
  extended by org.qi4j.spi.util.SerializationUtil

public final class SerializationUtil
extends Object


Method Summary
static Constructor readConstructor(ObjectInput in)
           
static Field readField(ObjectInputStream in)
           
static Method readMethod(ObjectInput in)
           
static void writeConstructor(ObjectOutput out, Constructor constructor)
           
static void writeField(ObjectOutputStream out, Field field)
           
static void writeMethod(ObjectOutput out, Method method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeMethod

public static void writeMethod(ObjectOutput out,
                               Method method)
                        throws IOException
Throws:
IOException

readMethod

public static Method readMethod(ObjectInput in)
                         throws IOException,
                                ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeConstructor

public static void writeConstructor(ObjectOutput out,
                                    Constructor constructor)
                             throws IOException
Throws:
IOException

readConstructor

public static Constructor readConstructor(ObjectInput in)
                                   throws IOException,
                                          ClassNotFoundException
Throws:
IOException
ClassNotFoundException

readField

public static Field readField(ObjectInputStream in)
                       throws IOException,
                              ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeField

public static void writeField(ObjectOutputStream out,
                              Field field)
                       throws IOException
Throws:
IOException