1 21 22 package org.apache.derby.iapi.services.loader; 23 24 import org.apache.derby.iapi.error.StandardException; 25 26 import org.apache.derby.iapi.util.ByteArray; 27 28 import java.io.ObjectStreamClass ; 29 30 31 35 36 public interface ClassFactory { 37 38 44 public GeneratedClass loadGeneratedClass(String fullyQualifiedName, ByteArray classDump) 45 throws StandardException; 46 47 50 public ClassInspector getClassInspector(); 51 52 58 public Class loadApplicationClass(String className) 59 throws ClassNotFoundException ; 60 61 67 public Class loadApplicationClass(ObjectStreamClass classDescriptor) 68 throws ClassNotFoundException ; 69 70 76 public boolean isApplicationClass(Class theClass); 77 78 84 public void notifyModifyJar(boolean reload) throws StandardException ; 85 86 91 public void notifyModifyClasspath(String classpath) throws StandardException ; 92 93 97 public int getClassLoaderVersion(); 98 } 99 | Popular Tags |