DatabaseClasses
, ReflectClassesJava2
public interface ClassFactory
Modifier and Type | Method | Description |
---|---|---|
ClassInspector |
getClassInspector() |
Return a ClassInspector object
|
int |
getClassLoaderVersion() |
Return the in-memory "version" of the class manager.
|
boolean |
isApplicationClass(java.lang.Class theClass) |
Was the passed in class loaded by a ClassManager.
|
java.lang.Class |
loadApplicationClass(java.io.ObjectStreamClass classDescriptor) |
Load an application class, or a class that is potentially an application class.
|
java.lang.Class |
loadApplicationClass(java.lang.String className) |
Load an application class, or a class that is potentially an application class.
|
GeneratedClass |
loadGeneratedClass(java.lang.String fullyQualifiedName,
ByteArray classDump) |
Add a generated class to the class manager's class repository.
|
void |
notifyModifyClasspath(java.lang.String classpath) |
Notify the class manager that the classpath has been modified.
|
void |
notifyModifyJar(boolean reload) |
Notify the class manager that a jar file has been modified.
|
GeneratedClass loadGeneratedClass(java.lang.String fullyQualifiedName, ByteArray classDump) throws StandardException
StandardException
- Standard Derby error policyClassInspector getClassInspector()
java.lang.Class loadApplicationClass(java.lang.String className) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
- Class cannot be found, or
a SecurityException or LinkageException was thrown loading the class.java.lang.Class loadApplicationClass(java.io.ObjectStreamClass classDescriptor) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
- Class cannot be found, or
a SecurityException or LinkageException was thrown loading the class.boolean isApplicationClass(java.lang.Class theClass)
void notifyModifyJar(boolean reload) throws StandardException
reload
- Restart any attached class loaderStandardException
- thrown on errorvoid notifyModifyClasspath(java.lang.String classpath) throws StandardException
StandardException
- thrown on errorint getClassLoaderVersion()
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.