if (logMethod && log.isDebugEnabled())
{
log.debug("returning ClassNotFound for remote class: "+classname);
}
// tell the remove side we don't have that class
return new ClassBytes(classname);
}
else
{
if (logMethod && log.isDebugEnabled())
{
log.debug("returning class bytes for remote class: "+classname);
}
return new ClassBytes(classname,buf);
}
}
catch (ClassNotFoundException cnf)
{
if (logMethod && log.isDebugEnabled())
{
log.debug("returning ClassNotFound for remote class: "+classname);
}
// tell the remove side we don't have that class
return new ClassBytes(classname);
}
}
// invoke on a pool thread
pool.run(new Runnable()
{