Code example for ObjectStreamClass

Methods: getName

    public Class resolveClass(ObjectStreamClass classDesc)
        throws ClassNotFoundException, IOException { 
        try { 
            return Class.forName(classDesc.getName(), false, classLoader);
        } catch (ClassNotFoundException e) {
            // Try also the superclass because of primitive types 
            return super.resolveClass(classDesc);
     * Return a proxy class that implements the interfaces named in a proxy 
     * class descriptor. Do this using the class loader assigned to this 
     * Context. 
    protected Class resolveProxyClass(String[] interfaces)
        throws IOException, ClassNotFoundException {