org.openejb.proxy
Class SerializationHandler

java.lang.Object
  extended byorg.openejb.proxy.SerializationHandler

public class SerializationHandler
extends Object


Constructor Summary
SerializationHandler()
           
 
Method Summary
static void copyArgs(ClassLoader classLoader, Object[] objects)
           
static void copyArgs(Object[] objects)
           
static Object copyObj(ClassLoader classLoader, Object object)
           
static Object copyObj(Object object)
           
static void setStrategy(ReplacementStrategy strategy)
          This method is public so it can be called by other parts of the container during their serialization operations, namely session passivation
static Object writeReplace(Object object, ProxyInfo proxyInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializationHandler

public SerializationHandler()
Method Detail

setStrategy

public static void setStrategy(ReplacementStrategy strategy)
This method is public so it can be called by other parts of the container during their serialization operations, namely session passivation


copyArgs

public static void copyArgs(Object[] objects)
                     throws IOException,
                            ClassNotFoundException
Throws:
IOException
ClassNotFoundException

copyObj

public static Object copyObj(Object object)
                      throws IOException,
                             ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeReplace

public static Object writeReplace(Object object,
                                  ProxyInfo proxyInfo)
                           throws ObjectStreamException
Throws:
ObjectStreamException

copyArgs

public static void copyArgs(ClassLoader classLoader,
                            Object[] objects)
                     throws IOException,
                            ClassNotFoundException
Throws:
IOException
ClassNotFoundException

copyObj

public static Object copyObj(ClassLoader classLoader,
                             Object object)
                      throws IOException,
                             ClassNotFoundException
Throws:
IOException
ClassNotFoundException


Copyright © 1999-2006 OpenEJB. All Rights Reserved.