* The proxy will implement or extend the specified class and
* also implement javax.jdo.spi.PersistenceCapable.
*/
Object newProxy() {
Class clazz = mapping.getMappedClass();
Factory sample = (Factory) factory.getSample(clazz);
if (sample != null) {
proxy = sample.newInstance(this);
setProxy(proxy);
return proxy;
}
Class[] interfaces;
ClassLoader loader = clazz.getClassLoader();