FileDocCategorySizeDatePackage
CustomObjectInputStream.javaAPI DocGlassfish v2 API3057Tue May 22 16:54:34 BST 2007oracle.toplink.essentials.internal.helper

CustomObjectInputStream

public class CustomObjectInputStream extends ObjectInputStream
INTERNAL: Defines a custom ObjectInputStream that is used with SerializedObjectMappings to ensure the correct class loader is used. BUG# 2813583
auther
Guy Pelletier
version
1.0 March 25/03

Fields Summary
Session
m_session
Constructors Summary
public CustomObjectInputStream(InputStream stream, Session session)

        super(stream);
        m_session = session;
    
Methods Summary
public java.lang.ClassresolveClass(java.io.ObjectStreamClass classDesc)

        ConversionManager cm = m_session.getDatasourceLogin().getDatasourcePlatform().getConversionManager();
        return (Class)cm.convertObject(classDesc.getName(), Class.class);