|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
com.izforge.izpack.util.FreeThread
This class implements a thred that can be used to free native libraries safely.
Field Summary | |
private NativeLibraryClient |
client
|
private java.lang.String |
name
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
FreeThread(java.lang.String name,
NativeLibraryClient client)
Standard constructor. |
Method Summary | |
void |
run()
The run() method. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.lang.String name
private NativeLibraryClient client
Constructor Detail |
public FreeThread(java.lang.String name, NativeLibraryClient client)
name
- the name of the library to free. The exact form of the
name may be operating system dependent. On Microsoft
Windows this must be just the library name, without
path but with extension.client
- reference of the client object that is linked with the
library to be freed.Method Detail |
public void run()
System.exit()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |