java.lang
Class ClassLoader.NativeLibrary
java.lang.Object
|
+--java.lang.ClassLoader.NativeLibrary
- static class ClassLoader.NativeLibrary
- extends Object
The inner class NativeLibrary denotes a loaded native library
instance. Every classloader contains a vector of loaded native
libraries in the private field nativeLibraries
.
The native libraries loaded into the system are entered into
the systemNativeLibraries
vector.
Every native library reuqires a particular version of JNI. This
is denoted by the private jniVersion field. This field is set
by the VM when it loads the library, and used by the VM to pass
the correct version of JNI to the native methods.
- Since:
- JDK1.2
- See Also:
ClassLoader
Methods inherited from class java.lang.Object |
,
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
handle
long handle
jniVersion
private int jniVersion
fromClass
private Class fromClass
name
String name
ClassLoader.NativeLibrary
public ClassLoader.NativeLibrary(Class fromClass,
String name)
load
void load(String name)
find
long find(String name)
unload
void unload()
finalize
protected void finalize()
- Overrides:
- finalize in class Object
getFromClass
static Class getFromClass()